Created
January 9, 2016 23:21
-
-
Save bbidulock/8153c7be66453f558298 to your computer and use it in GitHub Desktop.
PKGBUILD for perl-test-without-module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Piotr Rogoża <piotr dot r dot public at gmail dot com> | |
# Contributor: Piotr Rogoża <piotr dot r dot public at gmail dot com> | |
_author=C/CO/CORION | |
_perlmod=Test-Without-Module | |
pkgname=perl-test-without-module | |
pkgver=0.18 | |
pkgrel=3 | |
pkgdesc='Test::Without::Module - Test fallback behaviour in absence of modules' | |
arch=('any') | |
url="http://search.cpan.org/dist/Test-Without-Module/" | |
license=('GPL' 'PerlArtistic') | |
depends=('perl') | |
makedepends=('perl') | |
checkdepends=(perl-file-slurp) | |
options=('!emptydirs') | |
source=(http://search.cpan.org/CPAN/authors/id/$_author/$_perlmod-$pkgver.tar.gz) | |
sha256sums=('e2c3360b171d7db518ac39a0e1dcb285c784ea393c11708914a0655d66138c7f') | |
build(){ | |
cd $_perlmod-$pkgver | |
perl Makefile.PL INSTALLDIRS=vendor | |
make | |
} | |
check(){ | |
cd $_perlmod-$pkgver | |
make test | |
} | |
package(){ | |
cd $_perlmod-$pkgver | |
make install DESTDIR="${pkgdir}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment