diff options
Diffstat (limited to 'community/sxiv/APKBUILD')
-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" |