blob: d61fba5a57cb4c48a61b7f1de8ed7e769b7d0710 (
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=1.2.2
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="python2 py-setuptools py-genshi"
makedepends="python2-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"
}
package() {
cd "$_builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir"
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
}
sha512sums="1b243bb756a921888be9f2abb591d06acc85857785b41ba703269adc7f7390a77e746369d89986ea225e54f389ef4ab95733ce241a8c190f2d163c0f374c6dd1 Trac-1.2.2.tar.gz
38a961fe59b690eb91e20143aaea6aa1becda8c2afa103599d14ff86c7aae88f06b57b342302de1f067dac5d99024b9cc72896a84349e09b3ff40c9a20f97bb1 tracd.confd
c5ec9242c8149056cebcd54383f15fe31f30fee7c2062e431df05db4449c2fa250560889ea871516736ec9fd06cdbc7ff341e8e63d5f0bfd938cc9495af426cd tracd.initd"
|