wok-current view engrampa/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="engrampa"
4 VERSION="1.9.0"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="MATE archive manipulator."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.mate-desktop.org/"
11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
13 DEPENDS="bzip2 caja desktop-file-utils gtk+ gzip libarchive tar"
14 BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \
15 gtk+-dev gtk-doc mate-common-dev mate-desktop-dev yelp-tools"
16 SUGGESTED="unrar unace p7zip yelp-tools zip"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh \
28 --prefix=/usr \
29 --libexecdir=/usr/lib/$PACKAGE \
30 --with-gtk=2.0 \
31 --disable-static \
32 --disable-packagekit \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share/$PACKAGE
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib $fs/usr
43 cp -a $install/usr/share/$PACKAGE/* $fs/usr/share/$PACKAGE
45 mkdir -p $fs/usr/share/applications
46 cp -a $install/usr/share/applications/* $fs/usr/share/applications
48 mkdir -p $fs/usr/share/pixmaps
49 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
50 $fs/usr/share/pixmaps
51 }