From 702d15014a5015d97d3511cd5dda3e57b583ee96 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 25 Sep 2012 14:20:57 +0000 Subject: main/email2track: moved from testing fixes #1150 --- main/email2trac/APKBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 main/email2trac/APKBUILD (limited to 'main/email2trac/APKBUILD') diff --git a/main/email2trac/APKBUILD b/main/email2trac/APKBUILD new file mode 100644 index 0000000000..9681093f13 --- /dev/null +++ b/main/email2trac/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Natanael Copa +# Maintainer: Natanael Copa +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" -- cgit v1.2.3