aboutsummaryrefslogtreecommitdiffstats
path: root/main/email2trac/APKBUILD
blob: fdd870735298479bc4d916d8ca64b2637a06c735 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=email2trac
pkgver=2.12.2
pkgrel=1
pkgdesc="Utilities for converting emails to trac tickets"
url="https://oss.trac.surfsara.nl/email2trac"
arch="all"
license="GPL-2.0-or-later"
depends="trac"
makedepends="python3"
source="https://ftp.sara.nl/pub/outgoing/email2trac-$pkgver.tar.gz"
options="!check suid" # no testsuite

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--with-trac_user=tracd \
		PYTHON=python3
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="15b14d436f28092f0a9c3ecc0be0197d54085710b6cd651505168e14bf3c002ce4e218bdf2725a09c7caa2a1f72c83b24daf193eddc52658c8510e25c65a7c1b  email2trac-2.12.2.tar.gz"