summaryrefslogtreecommitdiff
path: root/user/ristretto/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-07 09:45:39 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-07 09:45:39 -0500
commit5b3f6714636ff666cccdc23be36f33f9c3567cea (patch)
treee123cc631559119c314c33f3075b374be4029a0e /user/ristretto/APKBUILD
parentfe4a71d81dd7d2f147d6d6fcf2ffb316250f8a91 (diff)
downloadpackages-5b3f6714636ff666cccdc23be36f33f9c3567cea.tar.gz
packages-5b3f6714636ff666cccdc23be36f33f9c3567cea.tar.bz2
packages-5b3f6714636ff666cccdc23be36f33f9c3567cea.tar.xz
packages-5b3f6714636ff666cccdc23be36f33f9c3567cea.zip
user/ristretto: new package
Diffstat (limited to 'user/ristretto/APKBUILD')
-rw-r--r--user/ristretto/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/ristretto/APKBUILD b/user/ristretto/APKBUILD
new file mode 100644
index 000000000..9fded5c45
--- /dev/null
+++ b/user/ristretto/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=ristretto
+pkgver=0.8.3
+pkgrel=0
+pkgdesc="Image viewer for the XFCE desktop environment"
+url="https://xfce.org"
+arch="all"
+license="GPL-2.0+ AND LGPL-2.0+"
+makedepends="intltool libexif-dev gtk+2.0-dev libxfce4util-dev libxfce4ui-dev
+ libmagic"
+subpackages="$pkgname-lang"
+langdir="/usr/lib/locale"
+source="http://archive.xfce.org/src/apps/ristretto/0.8/ristretto-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="c43b48dfdf9e8ed0ea3c5f2bbac1c837881aa6a467c78377b6f53dcce030b5a3b8134a7b8cbad1008ae758295953fde50a916c284e54e8c5490158e776554514 ristretto-0.8.3.tar.bz2"