diff options
author | Brian Bidulock | 2015-06-10 11:05:54 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-06-10 11:05:54 -0600 |
commit | 2b1e2cf85317b8762266063dc7b6673bdd030a3e (patch) | |
tree | e3554f511325fe0644954cebc2e7696b5039ad68 /PKGBUILD | |
download | aur-2b1e2cf85317b8762266063dc7b6673bdd030a3e.tar.gz |
initial version
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..42f26bab8e1f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Brian Bidulock <bidulock@openss7.org> + +pkgname=perl-image-base-x11-protocol +_lastauthor=K/KR/KRYDE +_pkgname=Image-Base-X11-Protocol +pkgver=14 +pkgrel=1 +pkgdesc="Draw into an X11::Protocol" +arch=('any') +license=('GPL') +options=('!emptydirs') +depends=('perl-x11-protocol-other' 'perl-image-base') +url="http://search.cpan.org/dist/${_pkgname}/" +source=(http://search.cpan.org/CPAN/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz) +sha256sums=('a248d66d43965779d8b44fb6e5e679706c124d6b762cd91108e6f1b46d5e4bed') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} +check() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + make test +} +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + make DESTDIR="$pkgdir" install +} |