summaryrefslogtreecommitdiffstats
path: root/main/gtkman/APKBUILD
blob: 38560a60f45549dde72f8d4bf20909de6b5ce054 (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
39
40
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtkman
pkgver=0.5
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="$pkgname-lang"
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="5b5a73149aaa474569a5e251ac2135db  gtkman-0.5.tar.gz"
sha256sums="39213caa171e2ac0eab9298daab23fbd9c5aedb1741895a6dc385771682e4519  gtkman-0.5.tar.gz"
sha512sums="8e0670246e165e2c2efbe84b353d2c56fb053fade39965a76242f1ec2f64009d5cd8bf8cba99b77dcc54c718972c2bc17675f2c154830675d8a50c219b3d73f5  gtkman-0.5.tar.gz"