aboutsummaryrefslogtreecommitdiffstats
path: root/main/trac/APKBUILD
blob: 2ef5319b1a2445d36c01afc6bebae55f43a78251 (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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=trac
_realname=Trac
pkgver=0.12
pkgrel=0
pkgusers="tracd"
pkggroups="tracd"
pkgdesc="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system."
url="http://trac.edgewall.com/"
arch="noarch"
license="GPL"
depends="python py-setuptools py-genshi"
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="3e8fabbaf8fe889e9c03a7dff09d5d05  Trac-0.12.tar.gz
95b1311ca65e1ffcd51a191542f45ba4  tracd.confd
e53761b1e84c5d68c8e6c4b837e57008  tracd.initd"