diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-20 11:51:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-20 11:51:29 +0000 |
commit | e5d33c740c0345fc74129ff14148e2eb3a0715d5 (patch) | |
tree | 1971f525a2074fdee22302628e0171b85c7f25e4 /testing/email2trac | |
parent | 14e783016c2a5f5226f075a68c0bf487986b4a4c (diff) | |
download | aports-e5d33c740c0345fc74129ff14148e2eb3a0715d5.tar.bz2 aports-e5d33c740c0345fc74129ff14148e2eb3a0715d5.tar.xz |
testing/email2trac: new aport
Utilities for converting emails to trac tickets
https://subtrac.sara.nl/oss/email2trac
ref #1150
Diffstat (limited to 'testing/email2trac')
-rw-r--r-- | testing/email2trac/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/email2trac/APKBUILD b/testing/email2trac/APKBUILD new file mode 100644 index 000000000..9681093f1 --- /dev/null +++ b/testing/email2trac/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=email2trac +pkgver=2.5.0 +pkgrel=0 +pkgdesc="Utilities for converting emails to trac tickets" +url="https://subtrac.sara.nl/oss/email2trac" +arch="all" +license="GPLv2+" +depends="trac" +makedepends="python" +install="" +subpackages="" +source="ftp://ftp.sara.nl/pub/outgoing/email2trac-$pkgver.tar.gz" + +_builddir="$srcdir"/email2trac-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-trac_user=tracd \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="763d3106f6c14dd9d943907ba6b5b2b8 email2trac-2.5.0.tar.gz" |