blob: 1da9ee61949f5f49786aca526e8366048b535bdb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=sxiv
pkgver=1.2
pkgrel=1
pkgdesc="Simple X Image Viewer"
url="https://github.com/muennich/sxiv"
arch="all"
license="GPL2"
depends=""
depends_dev=""
makedepends="imlib2-dev giflib-dev"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz
sxiv-giflib5.1.patch
"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make
}
package() {
cd "$_builddir"
make PREFIX="$pkgdir"/usr install
}
md5sums="9b79d3c70693d9abbc66295cf6f281a0 sxiv-1.2.tar.gz
c3cfa504ef7352b52f96682e8ba845ba sxiv-giflib5.1.patch"
sha256sums="ac76b69e4889137f2ce531ec4dc5ce9c4916bc575a30d351ebc7b0a684ef8cf3 sxiv-1.2.tar.gz
385478f42f2dbe142590dcd3f20b5ebb8a7ada169c35036502c46dd25b5cab88 sxiv-giflib5.1.patch"
sha512sums="6058a8f89c540083549d91fe469f8f9d1a4acf60a19dc1d7115b7fe9a807143c9f8c0e8320e7695f7b6afe8d9ae040e9daaa09a976219228afb929133c8a6957 sxiv-1.2.tar.gz
ffdef5c9118575e9c464010039b94c3a7c86b4321140091ef364c1990cb25c8fa587667ebd0064ceb07f4d647c33e6a9d1caf739a27d0a866917d48603d6986f sxiv-giflib5.1.patch"
|