summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-devel-globaldestruction/PKGBUILD
blob: 17f43b55e31f8fb0e1dd7f42d90605fae0021eb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id$
# Maintainer:

pkgname=perl-devel-globaldestruction
pkgver=0.14
pkgrel=3
pkgdesc="Expose the flag which marks global"
arch=('any')
url="http://search.cpan.org/dist/Devel-GlobalDestruction"
license=('PerlArtistic' 'GPL')
depends=('perl' 'perl-sub-exporter' 'perl-sub-exporter-progressive')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/Devel-GlobalDestruction-$pkgver.tar.gz)
md5sums=('24221ba322cf2dc46a1fc99b53e2380b')

build() {
  cd Devel-GlobalDestruction-$pkgver
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
 cd Devel-GlobalDestruction-$pkgver
 make test
}

package() {
  cd Devel-GlobalDestruction-$pkgver
  make DESTDIR="$pkgdir" install
}