wok-6.x annotate pcmanfm-qt/receipt @ rev 25509

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