summaryrefslogtreecommitdiffstats
path: root/main/trac/APKBUILD
blob: d4e09e554eb55ed17e34aeb8a11e649b5f067b3b (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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=trac
_realname=Trac
pkgver=0.11.7
pkgrel=1
pkgusers="tracd"
pkggroups="tracd"
pkgdesc="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system."
url="http://trac.edgewall.com/"
license="GPL"
depends="python py-setuptools py-genshi py-sqlite"
makedepends="python-dev"
install="$pkgname.pre-install"
source="ftp://ftp.edgewall.com/pub/$pkgname/$_realname-$pkgver.tar.gz
	tracd.confd
	tracd.initd"

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

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

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

md5sums="3cd96dad0e4f25d977c422fd6e985e99  Trac-0.11.7.tar.gz
95b1311ca65e1ffcd51a191542f45ba4  tracd.confd
e53761b1e84c5d68c8e6c4b837e57008  tracd.initd"