wok view sxiv/receipt @ rev 24842
updated libunistring and libunistring-dev (0.9.10 -> 1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 09:45:42 2022 +0100 (2022-03-25) |
parents | ac8ca9758df1 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="sxiv"
4 VERSION="26"
5 CATEGORY="graphics"
6 SHORT_DESC="Simple X Image Viewer."
7 LICENSE="GPL2"
8 MAINTAINER="paul@slitaz.org"
9 WEB_SITE="https://github.com/muennich/sxiv"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="giflib imlib2 libexif xdg-utils"
15 BUILD_DEPENDS="bzip2 giflib-dev imlib2-dev libexif-dev xorg-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make &&
27 make PREFIX=/usr DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/sxiv $fs/usr/share
37 }