initial import
This commit is contained in:
26
perl-tie-simple/PKGBUILD
Normal file
26
perl-tie-simple/PKGBUILD
Normal file
@@ -0,0 +1,26 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-tie-simple
|
||||
_realname=Tie-Simple
|
||||
pkgver=1.04
|
||||
pkgrel=1
|
||||
pkgdesc="Variable ties made easier"
|
||||
url='https://metacpan.org/release/Tie-Simple'
|
||||
arch=('any')
|
||||
license=('GPL-1')
|
||||
depends=('perl')
|
||||
options=('!emptydirs')
|
||||
source=("https://cpan.metacpan.org/authors/id/H/HA/HANENKAMP/$_realname-$pkgver.tar.gz")
|
||||
sha512sums=('24843a02565b525ff5ffbd362b1b746a3c576569c3e5c5fff5a0d543c2fbdbb4e1d6a6c45faeaff0a2721f2525996f21d46b7db88a40b49bc2541d0f99806ef2')
|
||||
|
||||
build() {
|
||||
cd $_realname-$pkgver
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_realname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user