initial import
This commit is contained in:
25
perl-list-moreutils-xs/PKGBUILD
Normal file
25
perl-list-moreutils-xs/PKGBUILD
Normal file
@@ -0,0 +1,25 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-list-moreutils-xs
|
||||
pkgver=0.430
|
||||
pkgrel=1
|
||||
pkgdesc="Provide the stuff missing in List::Util"
|
||||
url='https://search.cpan.org/dist/List-MoreUtils-XS'
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL-1')
|
||||
options=('!emptydirs')
|
||||
depends=('perl')
|
||||
source=("https://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/List-MoreUtils-XS-${pkgver}.tar.gz")
|
||||
sha512sums=('98260b81f03a425bf8c2e0b63bc3a8d360a0aa2e198b2b7faaeaa48684936183018afdd1e6a04bd7e99a7e728d809709c6206ea578dfe7d8d40c5a4e3e4bb405')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/List-MoreUtils-XS-${pkgver}"
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/List-MoreUtils-XS-${pkgver}"
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 GPL-1 -t "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||
}
|
||||
Reference in New Issue
Block a user