updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / perl-travel-routing-de-vrr / PKGBUILD
blob53b92de671310da90e5472310aeb934eeb6a0491
1 # Maintainer: Jens Adam (byte/jra) <j_adam@web.de>
3 _perlmod=Travel-Routing-DE-VRR
4 pkgname=perl-travel-routing-de-vrr
5 pkgver=1.06
6 pkgrel=1
7 pkgdesc='Unofficial efa.vrr.de command line client and Perl module'
8 url='http://finalrewind.org/projects/Travel-Routing-DE-VRR/'
9 license=('custom:WTFPL')
10 arch=('any')
11 conflicts=('efa')
12 provides=('efa')
13 depends=('perl-class-accessor' 'perl-exception-class' 'perl-libwww' 'perl-xml-libxml')
14 makedepends=('perl-test-compile' 'perl-test-fatal' 'perl-test-pod')
15 options=('!emptydirs')
16 source=("http://finalrewind.org/projects/${_perlmod}/${_perlmod}-${pkgver}.tar.gz"
17         'http://sam.zoy.org/wtfpl/COPYING')
18 md5sums=('15bb116046a9c702da251da3c694b560'
19          '389a9e29629d1f05e115f8f05c283df5')
21 build() {
22   cd "${srcdir}"/${_perlmod}-${pkgver}
23   perl Build.PL installdirs=vendor destdir="${pkgdir}"
24   ./Build
27 check() {
28   cd "${srcdir}"/${_perlmod}-${pkgver}
29   ./Build test
32 package() {
33   cd "${srcdir}"/${_perlmod}-${pkgver}
34   ./Build install
35   install -Dm644 ../COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING