diff options
Diffstat (limited to 'main/gtkman')
-rw-r--r-- | main/gtkman/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
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 <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +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" |