aboutsummaryrefslogtreecommitdiffstats
path: root/main/trac/APKBUILD
blob: ffc9ad8da17daaa7a537e00b1b611833e253833e (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.9
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"
}

package() {
	cd "$_builddir"
	python 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
}

md5sums="429d9aa79e3d939add7963ca9a7deb57  Trac-1.0.9.tar.gz
95b1311ca65e1ffcd51a191542f45ba4  tracd.confd
ebe33acbe0a60ff4912b323c2220367d  tracd.initd"
sha256sums="9ed3f0a2039c46132d10f35c211f9f6ee953339cc08492a41d1bf8741d6eebfa  Trac-1.0.9.tar.gz
6ae50c887d18f8eeda7d59c4d3fd1b5e07e407711c4e4679fef3583f7be8ed6e  tracd.confd
c892d824d274829f2fc85c25daacc891f1bba926b5daa26697f915232b4beb52  tracd.initd"
sha512sums="af429db720049ab344ce3c3b430dcf0ab7530013f59ccd2334633de9babc3f31b14829b9b5aa48aa05f614ca72d1d557953c58bbfb93faae2267afeac72e6304  Trac-1.0.9.tar.gz
38a961fe59b690eb91e20143aaea6aa1becda8c2afa103599d14ff86c7aae88f06b57b342302de1f067dac5d99024b9cc72896a84349e09b3ff40c9a20f97bb1  tracd.confd
c5ec9242c8149056cebcd54383f15fe31f30fee7c2062e431df05db4449c2fa250560889ea871516736ec9fd06cdbc7ff341e8e63d5f0bfd938cc9495af426cd  tracd.initd"