Date: Saturday, October 1, 2022 @ 19:55:13 Author: felixonmars Revision: 1320204
addpkg: perl-ref-util-xs 0.117-1 Added: perl-ref-util-xs/ perl-ref-util-xs/repos/ perl-ref-util-xs/trunk/ perl-ref-util-xs/trunk/PKGBUILD ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Added: perl-ref-util-xs/trunk/PKGBUILD =================================================================== --- perl-ref-util-xs/trunk/PKGBUILD (rev 0) +++ perl-ref-util-xs/trunk/PKGBUILD 2022-10-01 19:55:13 UTC (rev 1320204) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <[email protected]> + +pkgname=perl-ref-util-xs +pkgver=0.117 +pkgrel=1 +pkgdesc="XS implementation for Ref::Util" +arch=('x86_64') +license=('PerlArtistic') +url="https://metacpan.org/release/Ref-Util-XS" +depends=('perl') +checkdepends=('perl-readonly') +options=('!emptydirs') +source=("https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/Ref-Util-XS-$pkgver.tar.gz") +sha512sums=('5ebcd1bfd6c4b94c17f24c890342d4fba74a7a7c09b3d338208cd5d3fe6b6dd2c504c86ab555c27781b5ede2633d012bb7df819029ce89bec6bc269e21d567a0') + +build() { + cd Ref-Util-XS-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Ref-Util-XS-$pkgver + make test +} + +package() { + cd Ref-Util-XS-$pkgver + make DESTDIR="$pkgdir" install +}
