Commit 6393a8a1 authored by J0WI's avatar J0WI Committed by Kevin Daudt

main/email2trac: upgrade to 2.12.2

Closes GH-8846
parent a425b944
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=email2trac
pkgver=2.5.0
pkgrel=1
pkgver=2.12.2
pkgrel=0
pkgdesc="Utilities for converting emails to trac tickets"
url="https://subtrac.sara.nl/oss/email2trac"
url="https://oss.trac.surfsara.nl/email2trac"
arch="all"
license="GPL-2.0-or-later"
depends="trac"
makedepends="python2"
install=""
subpackages=""
source="ftp://ftp.sara.nl/pub/outgoing/email2trac-$pkgver.tar.gz"
options=suid
_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
}
source="https://ftp.sara.nl/pub/outgoing/email2trac-$pkgver.tar.gz"
options="!check suid" # no testsuite
build() {
cd "$_builddir"
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--with-trac_user=tracd \
|| return 1
make || return 1
--with-trac_user=tracd
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="c0c15ec41f8981abdc7165bc3f87c9e8f73fa5500466ef6d191ebc77d75086a5943cf3cfd27e0d5eb972090baee8479b8cee53d146fbf05b9124f5ee0bcf3952 email2trac-2.5.0.tar.gz"
sha512sums="15b14d436f28092f0a9c3ecc0be0197d54085710b6cd651505168e14bf3c002ce4e218bdf2725a09c7caa2a1f72c83b24daf193eddc52658c8510e25c65a7c1b email2trac-2.12.2.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment