APKBUILD 1.02 KB
Newer Older
1
# Contributor: Michael Mason <ms13sp@gmail.com>
2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3 4
pkgname=trac
_realname=Trac
Natanael Copa's avatar
Natanael Copa committed
5
pkgver=0.12.2
6
pkgrel=1
7 8
pkgusers="tracd"
pkggroups="tracd"
9 10
pkgdesc="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system."
url="http://trac.edgewall.com/"
Natanael Copa's avatar
Natanael Copa committed
11
arch="noarch"
12
license="GPL"
Natanael Copa's avatar
Natanael Copa committed
13
depends="python py-setuptools py-genshi"
14
makedepends="python-dev"
15
install="$pkgname.pre-install"
16
source="ftp://ftp.edgewall.com/pub/$pkgname/$_realname-$pkgver.tar.gz
17 18
	tracd.confd
	tracd.initd"
19 20 21 22 23 24 25 26 27 28

_builddir="$srcdir"/$_realname-$pkgver

build() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir"
}

package() {
	cd "$_builddir"
29
	install -d -o tracd -g tracd "$pkgdir"/var/lib/trac
30 31
	install -m755 -D "$srcdir"/tracd.initd "$pkgdir"/etc/init.d/tracd
	install -m644 -D "$srcdir"/tracd.confd "$pkgdir"/etc/conf.d/tracd
32 33
}

Natanael Copa's avatar
Natanael Copa committed
34
md5sums="f70c7676601f2592bcb7871319e62dd7  Trac-0.12.2.tar.gz
35 36
95b1311ca65e1ffcd51a191542f45ba4  tracd.confd
e53761b1e84c5d68c8e6c4b837e57008  tracd.initd"