wok view pcmanfm-qt/receipt @ rev 25532
Add some current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 27 10:46:05 2023 +0000 (20 months ago) |
parents | c0ce132ba4ee |
children | 0262035dc1e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pcmanfm-qt"
4 VERSION="0.8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="File manager and desktop icon manager (Qt port of PCManFM and libfm)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/pcmanfm-qt"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt file-manager"
14 DEPENDS="libQtCore libQtDBus libQtGui libffi libfm libgio menu-cache pcre \
15 xorg-libX11 zlib"
16 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake glib-dev libgio-dev libfm-dev \
17 menu-cache-dev xorg-libX11-dev"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir build; cd build
29 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
30 make &&
31 make DESTDIR=$install install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/share $fs/usr
41 }