summaryrefslogtreecommitdiffstats
path: root/unstable/genshi/APKBUILD
blob: 65e492390366f4e4f4c790dc77b9c934b1f7f31e (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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=genshi
_altname=Genshi
pkgver=0.5.1
pkgrel=0
pkgdesc="Python toolkit for stream-based generation of output for the web."
url="http://genshi.edgewall.org/"
license="GPL"
depends="python setuptools"
makedepends=""
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1.tar.bz2"

build() {
	cd "$srcdir"/$pkgname-$pkgver

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
	make DESTDIR="$pkgdir" install

	# remove the 2 lines below (and this) if there is no init.d script
	# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}

md5sums="" #generate with 'abuild checksum'