wok view engrampa/receipt @ rev 25783
Up verbiste (0.1.49)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 24 13:23:01 2024 +0000 (6 weeks ago) |
parents | 73f36875e5a7 |
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh \
29 --prefix=/usr \
30 --libexecdir=/usr/lib/$PACKAGE \
31 --with-gtk=2.0 \
32 --disable-static \
33 --disable-packagekit \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share/$PACKAGE
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib $fs/usr
44 cp -a $install/usr/share/$PACKAGE/* $fs/usr/share/$PACKAGE
46 mkdir -p $fs/usr/share/applications
47 cp -a $install/usr/share/applications/* $fs/usr/share/applications
49 mkdir -p $fs/usr/share/pixmaps
50 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
51 $fs/usr/share/pixmaps
52 }