Skip to content
Snippets Groups Projects
PKGBUILD 732 B
Newer Older
# Maintainer:
Sergej Pupykin's avatar
Sergej Pupykin committed

Jonathan Steel's avatar
Jonathan Steel committed
pkgname=perl-devel-globaldestruction
Felix Yan's avatar
Felix Yan committed
pkgver=0.14
Felix Yan's avatar
Felix Yan committed
pkgrel=8
Sergej Pupykin's avatar
Sergej Pupykin committed
pkgdesc="Expose the flag which marks global"
arch=('any')
Antonio Rojas's avatar
Antonio Rojas committed
url="https://search.cpan.org/dist/Devel-GlobalDestruction"
Sergej Pupykin's avatar
Sergej Pupykin committed
license=('PerlArtistic' 'GPL')
depends=('perl' 'perl-sub-exporter' 'perl-sub-exporter-progressive')
options=('!emptydirs')
Antonio Rojas's avatar
Antonio Rojas committed
source=(https://search.cpan.org/CPAN/authors/id/H/HA/HAARG/Devel-GlobalDestruction-$pkgver.tar.gz)
T.J. Townsend's avatar
T.J. Townsend committed
sha256sums=('34b8a5f29991311468fe6913cadaba75fd5d2b0b3ee3bb41fe5b53efab9154ab')
Sergej Pupykin's avatar
Sergej Pupykin committed

build() {
  cd Devel-GlobalDestruction-$pkgver
  perl Makefile.PL INSTALLDIRS=vendor
  make
Sergej Pupykin's avatar
Sergej Pupykin committed
}

check() {
 cd Devel-GlobalDestruction-$pkgver
 make test
Sergej Pupykin's avatar
Sergej Pupykin committed
}

package() {
  cd Devel-GlobalDestruction-$pkgver
  make DESTDIR="$pkgdir" install
Sergej Pupykin's avatar
Sergej Pupykin committed
}