aboutsummaryrefslogtreecommitdiffstats
path: root/main/email2trac/APKBUILD
blob: fe109933f9b7a62b045ea7cca1fe2b459fba34d5 (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
# 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="" # Requires trac which is in unmaintained because it requires python2
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() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--with-trac_user=tracd \
		PYTHON=python3
	make
}

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

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