initial import
This commit is contained in:
29
perl-archive-cpio/PKGBUILD
Normal file
29
perl-archive-cpio/PKGBUILD
Normal file
@@ -0,0 +1,29 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-archive-cpio
|
||||
_cpanname=Archive-Cpio
|
||||
pkgver=0.10
|
||||
pkgrel=1
|
||||
pkgdesc="Module for manipulations of cpio archives"
|
||||
url='https://metacpan.org/pod/Archive::Cpio'
|
||||
arch=('any')
|
||||
license=('GPL-1')
|
||||
depends=('perl>=5.10.0')
|
||||
options=('!emptydirs')
|
||||
source=(${pkgname}-${pkgver}.tar.gz::https://cpan.metacpan.org/authors/id/P/PI/PIXEL/${_cpanname}-${pkgver}.tar.gz
|
||||
LICENSE)
|
||||
sha512sums=('c828f6f199de0efd7c7fbe2c3d4c5304df3c714720d91dd9a7d76e2c8d16bab1b92fc93a0b8afe78bd89b043ce7684c31d54b13c4e840f68ee040ca7bff43c3d'
|
||||
'519a28a039257bcb29ccaa4ddd26c2ad28278bfbc0d0fc3a6ec3d9e4a7fd18fb86ca5aaeca1e350537f796914949fccecf816c2fe9a0892f7a26137f4bbb1fc1')
|
||||
|
||||
build() {
|
||||
cd ${_cpanname}-${pkgver}
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${_cpanname}-${pkgver}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm 644 Changes -t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
install -Dm 644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user