blob: 9f8bc7a89403143acd5f1cb201cf81b1af1586b1 (
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
|
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=sxiv
pkgver=1.3.1
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 libexif-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="3255d0d47e0a4cddd752ec03ee4bddaf sxiv-1.3.1.tar.gz"
sha256sums="9a30a1b036e1c17212128554709da3f2d65d3beaef2e0a73097af5e35cf11d0e sxiv-1.3.1.tar.gz"
sha512sums="a3ffeea7fb85188c844ec8fabf8a162aa6c4f695674b44db7c60a4608956051ff5963cb85aba86cd4f16ab63a0cf84cd2309c325e22075537175bf1b65327b77 sxiv-1.3.1.tar.gz"
|