wok view atril/receipt @ rev 24422

updated claws-mail packages (3.17.5 -> 3.18.0)
author Hans-G?nter Theisgen
date Fri Feb 11 16:39:51 2022 +0100 (2022-02-11)
parents 0812d027f57c
children 73f36875e5a7
line source
1 # SliTaz package receipt.
3 PACKAGE="atril"
4 VERSION="1.8.0"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="A document viewer for MATE. Based on evince"
8 MAINTAINER="yuripourre@gmail.com"
9 WEB_SITE="http://www.mate-desktop.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
13 TAGS="pdf djvu"
14 DEPENDS="gtk+ mate-desktop dconf libegl-mesa libsecret poppler \
15 desktop-file-utils djvulibre zlib"
16 SUGGESTED="libspectre mate-icon-theme"
17 BUILD_DEPENDS="wget autoconf automake libtool itstool yelp-tools \
18 gtk+-dev gtk-doc mate-desktop-dev mate-common-dev mate-icon-theme \
19 libsecret-dev caja-dev poppler-dev util-linux-uuid-dev lcms-dev \
20 libgcrypt-dev djvulibre-dev"
22 current_version()
23 {
24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
25 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./autogen.sh \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share $fs/usr
45 cp -a $install/usr/libexec $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/lib/atril $fs/usr/lib
48 cp -a $install/usr/lib/caja $fs/usr/lib
49 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
50 # Saving some space
51 rm -r $fs/usr/share/man $fs/usr/share/help
52 rm -r $fs/usr/lib/atril/3/backends/lib*a
53 rm -r $fs/usr/lib/caja/extensions-2.0/libatril*a
54 rm -rf $fs/usr/lib/pkgconfig
55 }