summaryrefslogtreecommitdiffstats
path: root/main/gtkman/APKBUILD
blob: 85dd18a989806ab0e4b5f5d999ea0f5a5b0ddc22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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"