diff options
author | Jens Adam | 2015-07-16 17:14:02 +0200 |
---|---|---|
committer | Jens Adam | 2015-07-16 17:14:02 +0200 |
commit | 3f6c442bcbb46287045a06a312810721a6860248 (patch) | |
tree | c74826270f323eba190f6f0095f479b1d3b9ff78 | |
download | aur-3f6c442bcbb46287045a06a312810721a6860248.tar.gz |
perl-universal-require: initial commit of adopted, unmodified PKGBUILD
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e3a4be9b47b1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = perl-universal-require + pkgdesc = UNIVERSAL::require - require() modules from a variable + pkgver = 0.18 + pkgrel = 1 + url = http://search.cpan.org/~neilb/UNIVERSAL-require/lib/UNIVERSAL/require.pm + arch = any + license = PerlArtistic + makedepends = perl + source = http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/UNIVERSAL-require-0.18.tar.gz + md5sums = 2cdfd54bc7e270c77456a8e929a091b3 + +pkgname = perl-universal-require + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..14de7f041956 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: jsteel <jsteel at aur.archlinux.org> +# Contributor: Marvin Lampe <marvin.lampe@gmx.de> + +pkgname=perl-universal-require +pkgver=0.18 +pkgrel=1 +pkgdesc="UNIVERSAL::require - require() modules from a variable" +arch=('any') +url="http://search.cpan.org/~neilb/UNIVERSAL-require/lib/UNIVERSAL/require.pm" +license=('PerlArtistic') +makedepends=('perl') +source=(http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/UNIVERSAL-require-$pkgver.tar.gz) +md5sums=('2cdfd54bc7e270c77456a8e929a091b3') + +build() { + cd "$srcdir"/UNIVERSAL-require-$pkgver + + perl Makefile.PL + + make +} + +package() { + cd "$srcdir"/UNIVERSAL-require-$pkgver + + install -Dm644 "$srcdir"/UNIVERSAL-require-$pkgver/blib/lib/UNIVERSAL/require.pm \ + "$pkgdir"/usr/lib/perl5/vendor_perl/UNIVERSAL/require.pm + install -Dm644 "$srcdir"/UNIVERSAL-require-$pkgver/blib/man3/UNIVERSAL::require.3pm \ + "$pkgdir"/usr/share/man/man3/UNIVERSAL::require.3pm +} |