diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-11-01 13:59:54 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-11-01 13:59:54 +0100 |
commit | 55c53ad08a7b4b50e0fb0afec43cc963e14a29d3 (patch) | |
tree | 36140466b4d9286823e4cb34bbde16057fdad3dc /community/sxiv | |
parent | 167655f741267fd6e81f85b703a50e063ae4812a (diff) | |
download | aports-55c53ad08a7b4b50e0fb0afec43cc963e14a29d3.tar.bz2 aports-55c53ad08a7b4b50e0fb0afec43cc963e14a29d3.tar.xz |
community/sxiv: move from main
Diffstat (limited to 'community/sxiv')
-rw-r--r-- | community/sxiv/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/sxiv/APKBUILD b/community/sxiv/APKBUILD new file mode 100644 index 0000000000..e99ba293ac --- /dev/null +++ b/community/sxiv/APKBUILD @@ -0,0 +1,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" |