1 # Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
6 pkgdesc="Request Tracker (RT): The leading open-source issue tracking system"
8 url="http://bestpractical.com/rt/"
10 depends=('perl>=5.8.3' 'perl-datetime' 'perl-data-optlist' 'perl-class-returnvalue'
11 'perl-text-quoted' 'perl-text-autoformat' 'perl-net-snmp' 'perl-package-stash'
12 'perl-regexp-ipv6' 'perl-css-squish' 'perl-module-versions-report'
13 'perl-mime-tools' 'perl-locale-maketext-lexicon' 'perl-devel-globaldestruction'
14 'perl-time-modules' 'perl-tree-simple' 'perl-text-template' 'perl-html-quoted'
15 'perl-html-scrubber' 'perl-dbix-searchbuilder' 'perl-file-sharedir'
16 'perl-regexp-common' 'perl-locale-maketext-fuzzy' 'perl-regexp-common-net-cidr'
17 'perl-net-cidr' 'perl-log-dispatch' 'perl-universal-require' 'perl-email-address'
18 'perl-html-rewriteattributes' 'perl-mime-types' 'perl-fcgi-procmanager'
19 'perl-fcgi' 'perl-gdtextutil' 'perl-gdgraph' 'perl-perlio-eol' 'perl-data-ical'
20 'perl-html-tree' 'perl-html-format' 'perl-apache-session' 'perl-ipc-run3'
21 'perl-text-wikiformat' 'perl-xml-rss' 'perl-html-mason' 'perl-json'
22 'perl-cgi-emulate-psgi' 'perl-html-mason-psgihandler' 'perl-starlet'
23 'perl-convert-color' 'perl-term-readkey' 'perl-clone'
24 'perl-text-password-pronounceable' 'perl-dbd-mysql' 'mysql' 'perl-text-wrapper'
25 'perl-cgi-psgi' 'perl-gnupg-interface')
26 #optdepends=('postgresql: PostgreSQL support' 'oracle: Oracle support' 'sqlite3: SQLite support')
27 source=("http://download.bestpractical.com/pub/$pkgname/release/$pkgname-$pkgver.tar.gz")
28 md5sums=('7bbfe24c3e3b6fb64c62a43769780093')
29 backup=('opt/rt4/etc/RT_SiteConfig.pm')
33 cd "$srcdir/$pkgname-$pkgver"
34 ./configure --with-web-user=http --with-web-group=http
39 cd "$srcdir/$pkgname-$pkgver"
40 make DESTDIR="$pkgdir" install
42 mkdir -p "$pkgdir/opt/rt4/var/mason_data/obj"
43 chown -R http:http "$pkgdir/opt/rt4/var/mason_data"