From 6d6d7905425b2b37a99d6d53d0168fa51def66a1 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 11 Mar 2011 23:04:10 +0000 Subject: main/gtkman: moved from testing --- main/gtkman/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 main/gtkman/APKBUILD (limited to 'main/gtkman') diff --git a/main/gtkman/APKBUILD b/main/gtkman/APKBUILD new file mode 100644 index 0000000000..85dd18a989 --- /dev/null +++ b/main/gtkman/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Natanael Copa +# Maintainer: Natanael Copa +pkgname=gtkman +pkgver=0.3 +pkgrel=0 +pkgdesc="GTK+2 manual page viewer" +url="http://www.salixos.org/wiki/index.php/GTKMan" +arch="noarch" +license="GPLv3" +depends="py-gtk" +depends_dev= +makedepends="gettext intltool" +install="" +subpackages= +source="http://people.salixos.org/gapan/gtkman/gtkman-$pkgver.tar.gz" + +_builddir="$srcdir"/gtkman +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" + ./compile.sh || return 1 +} + +package() { + cd "$_builddir" + DESTDIR="$pkgdir" ./install.sh || return 1 +} + +md5sums="2441a347fb29a5f3d744000c01b4b42e gtkman-0.3.tar.gz" -- cgit v1.2.3