updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / perl-gtp / PKGBUILD
blobadc986ff3a6bcdcc835105d4831543477e291dcf
1 # Contributor: Thomas Schneuder <maxmusterm@gmail.com>
2 # Maintainer: Thomas Schneider <maxmusterm@gmail.com>
4 pkgname=perl-gtp
5 _realname=Games-Go-GTP
6 pkgver=0.04
7 pkgrel=1
8 pkgdesc="Interact with a server or Go playing program using GTP"
9 arch=('i686' 'x86_64')
10 url="http://search.cpan.org/dist/${_realname}/"
11 depends=('perl>=5.10.0')
12 license=('GPL')
13 source=(http://www.cpan.org/authors/id/D/DE/DEG/${_realname}-${pkgver}.tar.gz)
14 options=(!emptydirs)
15 md5sums=(89bc9ede90604a411913b6adbb70a6f3)
17 build() {
18   cd  ${startdir}/src/${_realname}-${pkgver}
19   # install module in vendor directories.
20   /usr/bin/perl Makefile.PL INSTALLDIRS=vendor || return 1
21   /usr/bin/make || return 1
22   /usr/bin/make DESTDIR=${startdir}/pkg install
24   # remove *.pod, .packlist, and empty dirs:
25   find ${startdir}/pkg -name perllocal.pod -delete
26   find ${startdir}/pkg -name .packlist -delete
29 sha1sums=('692297853bd4d1564a3e9739235a8d851c0b90cb')