aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/geh
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-11-04 10:17:48 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-11-04 10:18:52 +0100
commit19d193db3f013c799c27a1c5e6552f8568d731de (patch)
tree74ca747bd4e1619cf0c87d64895091c693fc93e7 /unmaintained/geh
parent4826e34048e626566d748a777e06386b05c5c1a3 (diff)
downloadaports-19d193db3f013c799c27a1c5e6552f8568d731de.tar.bz2
aports-19d193db3f013c799c27a1c5e6552f8568d731de.tar.xz
main/geh: move to unmaintained
project page/source seems abandoned
Diffstat (limited to 'unmaintained/geh')
-rw-r--r--unmaintained/geh/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/unmaintained/geh/APKBUILD b/unmaintained/geh/APKBUILD
new file mode 100644
index 0000000000..afa3b555b2
--- /dev/null
+++ b/unmaintained/geh/APKBUILD
@@ -0,0 +1,49 @@
+# Contributor:
+# Maintainer:
+pkgname=geh
+pkgver=0.2.0
+pkgrel=2
+pkgdesc="a simple commandline image viewer written in C/Gtk+"
+url="https://projects.pekdon.net/projects/geh"
+arch="all"
+license="GPL"
+depends=
+makedepends="gtk+-dev intltool"
+install=
+subpackages="$pkgname-doc"
+source="http://projects.pekdon.net/projects/geh/files/geh-$pkgver.tar.gz"
+
+# append extra dependencies to -dev subpackage
+# remove if not used.
+# depends_dev="somepackage-dev"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # apply patches here
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+
+ # remove the 2 lines below (and this) if there is no init.d script
+ # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+ # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+}
+
+md5sums="2349b774e7f0c288061fcfc8c296f20d geh-0.2.0.tar.gz"