diff options
author | Eivind Uggedal <eivind@uggedal.com> | 2014-06-26 12:42:13 +0000 |
---|---|---|
committer | Eivind Uggedal <eivind@uggedal.com> | 2014-06-26 12:42:23 +0000 |
commit | d85087eb05455001ffa93d67b788f5131db41845 (patch) | |
tree | f2478c49020dc22bc8fb76b9db71333620ae3e37 /testing | |
parent | 6f2e295cd6f324cfa36c36c308c2b079b9d35b0f (diff) | |
download | aports-d85087eb05455001ffa93d67b788f5131db41845.tar.bz2 aports-d85087eb05455001ffa93d67b788f5131db41845.tar.xz |
testing/sxiv: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/sxiv/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/sxiv/APKBUILD b/testing/sxiv/APKBUILD new file mode 100644 index 0000000000..21bf8610d5 --- /dev/null +++ b/testing/sxiv/APKBUILD @@ -0,0 +1,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="imlib2-dev giflib-dev" +makedepends="$depends_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" |