wok annotate engrampa/receipt @ rev 25697
dool: reduced size of package
author | Hans-G?nter Theisgen |
---|---|
date | Sun May 12 07:10:04 2024 +0100 (5 weeks ago) |
parents | 73f36875e5a7 |
children |
rev | line source |
---|---|
yuripourre@16986 | 1 # SliTaz package receipt. |
yuripourre@16986 | 2 |
yuripourre@16986 | 3 PACKAGE="engrampa" |
yuripourre@16986 | 4 VERSION="1.9.0" |
yuripourre@16986 | 5 CATEGORY="utilities" |
yuripourre@16986 | 6 LICENSE="GPL3" |
yuripourre@16986 | 7 SHORT_DESC="MATE archive manipulator." |
yuripourre@16986 | 8 MAINTAINER="yuripourre@gmail.com" |
yuripourre@16986 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25540 | 10 WEB_SITE="https://www.mate-desktop.org/" |
yuripourre@16986 | 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" |
yuripourre@16986 | 12 |
yuripourre@16986 | 13 DEPENDS="bzip2 caja desktop-file-utils gtk+ gzip libarchive tar" |
yuripourre@16986 | 14 BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \ |
yuripourre@16986 | 15 gtk+-dev gtk-doc mate-common-dev mate-desktop-dev yelp-tools" |
pascal@17482 | 16 SUGGESTED="unrar unace p7zip yelp-tools zip" |
yuripourre@16986 | 17 |
pascal@25599 | 18 # What is the latest version available today? |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25599 | 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
yuripourre@16986 | 25 # Rules to configure and make the package. |
yuripourre@16986 | 26 compile_rules() |
yuripourre@16986 | 27 { |
al@18741 | 28 ./autogen.sh \ |
yuripourre@16986 | 29 --prefix=/usr \ |
yuripourre@16986 | 30 --libexecdir=/usr/lib/$PACKAGE \ |
yuripourre@16986 | 31 --with-gtk=2.0 \ |
yuripourre@16986 | 32 --disable-static \ |
yuripourre@16986 | 33 --disable-packagekit \ |
yuripourre@16986 | 34 $CONFIGURE_ARGS && |
yuripourre@16986 | 35 make && |
yuripourre@16986 | 36 make DESTDIR=$DESTDIR install |
yuripourre@16986 | 37 } |
yuripourre@16986 | 38 |
yuripourre@16986 | 39 genpkg_rules() |
yuripourre@16986 | 40 { |
yuripourre@16990 | 41 mkdir -p $fs/usr/share/$PACKAGE |
yuripourre@16986 | 42 cp -a $install/usr/bin $fs/usr |
yuripourre@16986 | 43 cp -a $install/usr/lib $fs/usr |
yuripourre@16990 | 44 cp -a $install/usr/share/$PACKAGE/* $fs/usr/share/$PACKAGE |
al@18741 | 45 |
yuripourre@16990 | 46 mkdir -p $fs/usr/share/applications |
yuripourre@16990 | 47 cp -a $install/usr/share/applications/* $fs/usr/share/applications |
al@18741 | 48 |
yuripourre@16990 | 49 mkdir -p $fs/usr/share/pixmaps |
yuripourre@16986 | 50 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \ |
yuripourre@16986 | 51 $fs/usr/share/pixmaps |
yuripourre@16986 | 52 } |