summaryrefslogtreecommitdiffstats
path: root/main/trac/APKBUILD
blob: 3578dcfb582b7b17998464849a03e373594e7c05 (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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=trac
_realname=Trac
pkgver=1.0.1
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="http://download.edgewall.org/trac/Trac-$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="c869fa40e29fa4597e2c9c960de9f2f3  Trac-1.0.1.tar.gz
95b1311ca65e1ffcd51a191542f45ba4  tracd.confd
fd3f1cd33a2819c43de82b92a839660d  tracd.initd"
sha256sums="9dd49065696a8d4dfcb1a1af81e51d6bd487f5a1e72b3325c1fe4ecb5c490adb  Trac-1.0.1.tar.gz
6ae50c887d18f8eeda7d59c4d3fd1b5e07e407711c4e4679fef3583f7be8ed6e  tracd.confd
43c483ac985ee577b64d055d04972e22547253b07699e98d1f009a226bd7ff64  tracd.initd"
sha512sums="844272eb52a35bf0d8a08d6e9b24d7085adf3c4a5c0433031673b2b754df56985537fe54ce06abee7e6c5ccfd5de40381478edbcd656a7d42e1c40fe8014203a  Trac-1.0.1.tar.gz
38a961fe59b690eb91e20143aaea6aa1becda8c2afa103599d14ff86c7aae88f06b57b342302de1f067dac5d99024b9cc72896a84349e09b3ff40c9a20f97bb1  tracd.confd
392f2d63e48b8ddedf39757e084e8afe98342d4c43752bd269bff0cd929b10f50aeb8cef346a1d18f77ce0a1450e482405c332522029599e1e8bb2b6c1ba4f99  tracd.initd"