summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPiotr Rogoża2015-06-14 15:47:02 +0200
committerPiotr Rogoża2015-06-14 15:47:02 +0200
commit85a63fe798bf579229c1930f781ed827f3911489 (patch)
tree2bf7ee63d8d311a3055e31ed2d340f18be34cb37 /PKGBUILD
downloadaur-perl-std.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1ff68cb15bf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer: Piotr Rogoża <rogoza dot piotr at gmail dot com>
+# Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
+# vim:set ts=2 sw=2 et ft=sh tw=100: expandtab
+
+_author=S/SO/SOREAR
+_perlmod=STD
+pkgname=perl-std
+pkgver=20101111
+pkgrel=2
+pkgdesc='The STD.pm6 command line multitool'
+arch=('any')
+url="http://search.cpan.org/~sorear/STD/"
+license=('GPL' 'PerlArtistic')
+groups=()
+depends=(
+perl-moose
+perl-yaml-libyaml
+perl-file-sharedir
+)
+makedepends=(
+perl
+)
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=(!emptydirs)
+install=
+source=("http://search.cpan.org/CPAN/authors/id/$_author/$_perlmod-$pkgver.tar.gz")
+noextract=()
+
+build(){
+ cd "$srcdir/$_perlmod-$pkgver"
+ perl Build.PL installdirs=vendor destdir="$pkgdir/"
+ perl Build
+}
+check(){
+ cd "$srcdir/$_perlmod-$pkgver"
+ perl Build test
+}
+package(){
+ cd "$srcdir/$_perlmod-$pkgver"
+ perl Build install
+
+ # remove perllocal.pod and .packlist
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+md5sums=('a8ebd8d331d14789cf39e58eeada85e4')