summaryrefslogtreecommitdiff
path: root/user/ristretto/APKBUILD
diff options
context:
space:
mode:
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"