blob: e99ba293ac6e7b078c406f4ac851498f308057f1 (
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
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=sxiv
pkgver=1.3.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 libexif-dev"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
build() {
make -C "$_builddir" || return 1
}
package() {
make PREFIX=/usr DESTDIR="$pkgdir" \
-C "$_builddir" install || return 1
install -Dm644 "$_builddir"/README.md \
"$pkgdir"/usr/share/doc/$pkgname/README.md || return 1
}
md5sums="44822b3d4672a7ed22f1a14c86a0914f sxiv-1.3.2.tar.gz"
sha256sums="9f5368de8f0f57e78ebe02cb531a31107a993f2769cec51bcc8d70f5c668b653 sxiv-1.3.2.tar.gz"
sha512sums="3bcf67a778a3e40cb6ae6b6fcc685cd57e303265df34c8a56d6ebb8ad0237e7136e738c44fee5c5504c73e4722d017f1e746691fac482568b2a960931f1ecdd5 sxiv-1.3.2.tar.gz"
|