blob: 2344a5a2c47454d36f0518014208653e12646e8f (
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
41
42
43
44
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtkman
pkgver=1.0.1
pkgrel=0
pkgdesc="GTK+2 manual page viewer"
url="http://www.salixos.org/wiki/index.php/GTKMan"
arch="noarch"
license="GPL-3.0"
depends="py-gtk"
depends_dev=
makedepends="gettext intltool"
install=""
subpackages="$pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/gapan/$pkgname/archive/$pkgver.tar.gz
fix-man-install.patch"
_builddir="$srcdir"/$pkgname-$pkgver
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"
make || return 1
}
package() {
cd "$_builddir"
DESTDIR="$pkgdir" PREFIX=/usr make install || return 1
}
md5sums="fa461fbb98f77c641763d104ca9f0539 gtkman-1.0.1.tar.gz
4532f1d215a61d18c4eb36882a2a7502 fix-man-install.patch"
sha256sums="534557f502e6b32653127f034c5ec140d22ea69ec62c9d488ae606c964178aed gtkman-1.0.1.tar.gz
154b4ed6911425ef43db7b42a1ac5f09f8af2e4a99f216b5c0b8c3a0bbaf5f78 fix-man-install.patch"
sha512sums="fd095d638e10271321b56fd417111b5b94dadbd63dc71e238992e43398f7a53b6039c902aeb6482f0399ab5aadaeca607a9b08873ee0f4b76acdbb741190628e gtkman-1.0.1.tar.gz
3c99d27559e1bdccfe11eb8bfe0880378018de77781d80b51d0889e26c37afd748906b26bfbea2a5ac14bee288452c457ef7c60f8188993f407bd96b6c940ac1 fix-man-install.patch"
|