initial import
This commit is contained in:
26
perl-io-dirent/PKGBUILD
Normal file
26
perl-io-dirent/PKGBUILD
Normal file
@@ -0,0 +1,26 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-io-dirent
|
||||
pkgver=0.05
|
||||
pkgrel=1
|
||||
pkgdesc='Perl IO::Dirent module - Access to dirent structs returned by readdir'
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL-1')
|
||||
url='https://search.cpan.org/~scottw/IO-Dirent/'
|
||||
options=('!emptydirs')
|
||||
source=("https://search.cpan.org/CPAN/authors/id/S/SC/SCOTTW/IO-Dirent-$pkgver.tar.gz"
|
||||
"LICENSE")
|
||||
sha512sums=('62db71138390f30d619ccbff7bcd16abce79b7b08fe50b5252b951d2291e5ea65f8c293286394cf091ded172331a5a7ec62344efa3d4ebcd1312804e09625be1'
|
||||
'9c4db4094b9ae4597182a41a07071e482c41216a270df47757e4bebadde2dd5e034d722275d640709995b9b3c6643d6f70a61ab0d5d7b23521f668c46b38d3bc')
|
||||
|
||||
build() {
|
||||
cd IO-Dirent-$pkgver
|
||||
USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd IO-Dirent-$pkgver
|
||||
make install DESTDIR="$pkgdir/"
|
||||
install -Dm644 "$srcdir/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user