blob: 6eb2645f5866286f2925c28fdbaa7410203546fd (
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
|
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=sxiv
pkgver=1.2
pkgrel=0
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"
_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"
sha256sums="ac76b69e4889137f2ce531ec4dc5ce9c4916bc575a30d351ebc7b0a684ef8cf3 sxiv-1.2.tar.gz"
sha512sums="6058a8f89c540083549d91fe469f8f9d1a4acf60a19dc1d7115b7fe9a807143c9f8c0e8320e7695f7b6afe8d9ae040e9daaa09a976219228afb929133c8a6957 sxiv-1.2.tar.gz"
|