Created
January 9, 2016 23:10
-
-
Save bbidulock/e57c36251ab797e0acf2 to your computer and use it in GitHub Desktop.
PKGBUILD for perl-class-xsaccessor
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: Simone Sclavi 'Ito' <darkhado@gmail.com> | |
# Contributor: Justin Davis <jrcd83@gmail.com> | |
pkgname='perl-class-xsaccessor' | |
pkgver='1.19' | |
pkgrel='3' | |
_realname='Class-XSAccessor' | |
pkgdesc="Generate fast XS accessors without runtime compilation" | |
arch=('i686' 'x86_64') | |
license=('PerlArtistic' 'GPL') | |
options=('!emptydirs') | |
depends=('perl') | |
url='http://search.cpan.org/dist/Class-XSAccessor' | |
source=("http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/${_realname}-${pkgver}.tar.gz") | |
md5sums=('5c5dea74f00ad37c5119dd22b28a5563') | |
build() { | |
cd ${_realname}-${pkgver} | |
perl Makefile.PL INSTALLDIRS=vendor | |
make | |
} | |
check() { | |
cd ${_realname}-${pkgver} | |
make test | |
} | |
package() { | |
cd ${_realname}-${pkgver} | |
make install DESTDIR=${pkgdir} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment