summaryrefslogtreecommitdiffstats
path: root/main/rt4/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-02-03 10:45:25 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-02-03 10:52:40 +0200
commitd6866c4b19190d319cdf71d84dbeaa1144f60885 (patch)
treee46e35a6a50d8c46ba53d71bd9f88f56c411900a /main/rt4/APKBUILD
parent631cd76a08a90fe22ccf064ee1cb38c73db482d7 (diff)
downloadaports-d6866c4b19190d319cdf71d84dbeaa1144f60885.tar.bz2
aports-d6866c4b19190d319cdf71d84dbeaa1144f60885.tar.xz
main/rt4: upgrade to 4.0.5 and use system droid fonts
Diffstat (limited to 'main/rt4/APKBUILD')
-rw-r--r--main/rt4/APKBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/main/rt4/APKBUILD b/main/rt4/APKBUILD
index 254b240fb..d2e3343f4 100644
--- a/main/rt4/APKBUILD
+++ b/main/rt4/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rt4
-pkgver=4.0.4
+pkgver=4.0.5
pkgrel=0
pkgdesc="Request Tracker - issue and bug tracker"
pkgusers="rt4"
@@ -67,6 +67,7 @@ depends="perl
perl-json
perl-ipc-run3
perl-plack
+ ttf-droid
"
makedepends="$depends"
@@ -85,6 +86,9 @@ prepare() {
esac
done
+ sed -i -e 's_$RT::BasePath/share/fonts/_/usr/share/fonts/TTF/_g' \
+ "$_builddir"/etc/RT_Config.pm*
+
cat <<'EOF' >> config.layout
# Alpione directory layout.
<Layout Alpine>
@@ -121,6 +125,7 @@ build() {
--with-rt-group=rt4 \
--with-web-group=rt4 \
--with-web-user=rt4 \
+ --disable-gpg \
|| return 1
make || return 1
}
@@ -128,7 +133,10 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
+ # delete the droid fonts as we get them from ttf-droid
+ rm -rf "$pkgdir"/usr/share/rt4/fonts/
+
}
-md5sums="7bbfe24c3e3b6fb64c62a43769780093 rt-4.0.4.tar.gz
-ed9ba8bd09e68f4af1095aeedbe7a18b 0001-email-allow-envelope-from-overriding-from-templates.patch"
+md5sums="0dc4defc313c4c992ae1b3d630f5cd99 rt-4.0.5.tar.gz
+8efa0bcee373ee111ac08c53bac8354d 0001-email-allow-envelope-from-overriding-from-templates.patch"