initial import
This commit is contained in:
25
perl-inc-latest/PKGBUILD
Normal file
25
perl-inc-latest/PKGBUILD
Normal file
@@ -0,0 +1,25 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-inc-latest
|
||||
pkgver=0.500
|
||||
pkgrel=2
|
||||
pkgdesc="Use modules bundled in inc/ if they are newer than installed ones"
|
||||
arch=('any')
|
||||
url='https://metacpan.org/pod/inc::latest'
|
||||
license=('Apache-2.0')
|
||||
depends=('perl')
|
||||
options=('!emptydirs')
|
||||
source=("https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/inc-latest-${pkgver}.tar.gz")
|
||||
sha512sums=('b312d1dfce963322796bc0127f0ecd82c12baacf9e5df40d9acc093221edd80f3696ce6d9f185ed24b21983147363d1d0ff3e273b8b5ce7559a6f16983a1385c')
|
||||
|
||||
build() {
|
||||
cd "inc-latest-${pkgver}"
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "inc-latest-${pkgver}"
|
||||
make install DESTDIR="${pkgdir}"
|
||||
install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
||||
Reference in New Issue
Block a user