wok annotate xarchiver/receipt @ rev 16771

Up: xarchiver (0.5.3) and patch it to use icons instead of pixmaps.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 20 04:30:32 2014 +0300 (2014-06-20)
parents eb8067417980
children 7893304f1666
rev   line source
erjo@4156 1 # SliTaz package receipt.
erjo@4156 2
erjo@4156 3 PACKAGE="xarchiver"
al@16771 4 VERSION="0.5.3"
erjo@4156 5 CATEGORY="x-window"
al@16771 6 SHORT_DESC="A GTK+ lightweight archive manager"
erjo@4156 7 MAINTAINER="erjo@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
erjo@4156 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4156 10 WEB_SITE="http://xarchiver.sourceforge.net/"
al@16771 11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
erjo@4156 12
al@16771 13 # binutils for ar; busybox also contains gzip & cpio; rar is get-rar; gtar is absent
al@16771 14 SUGGESTED="arj bzip2 binutils gzip lzma xz lzop lha rar cpio zip p7zip-full xdg-utils"
al@16771 15 DEPENDS="gtk+"
pascal@15579 16 BUILD_DEPENDS="gtk+-dev"
pascal@15579 17
erjo@4156 18 # Rules to configure and make the package.
erjo@4156 19 compile_rules()
erjo@4156 20 {
al@16771 21 patch -p0 < $stuff/xarchiver-0.5.3-icons.diff
erjo@4156 22 ./configure \
erjo@4156 23 --prefix=/usr \
erjo@4877 24 --libexecdir=/usr/lib \
erjo@4156 25 $CONFIGURE_ARGS &&
pascal@15579 26 make && make DESTDIR=$DESTDIR install
erjo@4156 27 }
erjo@4156 28
erjo@4156 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4156 30 genpkg_rules()
erjo@4156 31 {
al@16771 32 mkdir -p $fs/usr/share
pascal@15579 33 cp -a $install/usr/bin $fs/usr
pascal@15579 34 cp -a $install/usr/lib $fs/usr
pascal@15579 35 cp -a $install/usr/share/applications $fs/usr/share
pascal@15579 36 cp -a $install/usr/share/icons $fs/usr/share
erjo@4713 37 rm -rf $fs/usr/share/icons/hicolor/scalable
al@16771 38
al@16771 39 sed -i '/Encoding/d;/Version/d;/Name\[.*\]=Xarchiver/d;/GenericName/d;/Exec/s/.*/& %f/' \
al@16771 40 $fs/usr/share/applications/xarchiver.desktop
erjo@4156 41 }