aboutsummaryrefslogtreecommitdiffstats
path: root/main/sxiv
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-06-26 12:47:38 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-06-26 12:47:38 +0000
commite3fa9f10ddbc976ae751fe1194fcce36cbb348ac (patch)
tree22e2240d943d59f17cbe7208da695c65da9fae20 /main/sxiv
parentd85087eb05455001ffa93d67b788f5131db41845 (diff)
downloadaports-e3fa9f10ddbc976ae751fe1194fcce36cbb348ac.tar.bz2
aports-e3fa9f10ddbc976ae751fe1194fcce36cbb348ac.tar.xz
main/sxiv: moved from testing
Diffstat (limited to 'main/sxiv')
-rw-r--r--main/sxiv/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/sxiv/APKBUILD b/main/sxiv/APKBUILD
new file mode 100644
index 0000000000..21bf8610d5
--- /dev/null
+++ b/main/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"