summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorint2017-12-20 13:20:42 +0100
committerint2017-12-20 13:20:42 +0100
commit48b2c58984361fe482282fc9685aa6ad2f8cd09b (patch)
tree76297c9ffdabfbfb8b5fe2e670785366aba69b01 /PKGBUILD
parent39589dc98efdb200ea807452b1bd3f6f946bfaed (diff)
downloadaur-48b2c58984361fe482282fc9685aa6ad2f8cd09b.tar.gz
New maintainer, so new PKGBUILD-style.
Updated package to a newer version and generated PKGBUILD via cpan2aur and added some minor modifications, like bugfix: https://rt.cpan.org/Public/Bug/Display.html?id=12315
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD78
1 files changed, 46 insertions, 32 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 92db5b7df23..d27c69f93e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,38 +1,52 @@
-# Maintainer: Kars Wang <jaklsy AT gmail.com>
+# Maintainer: int <int [ate] arcor [dot] de>
+# Contributor: Kars Wang <jaklsy AT gmail.com>
+# Generator : CPANPLUS::Dist::Arch 1.32
pkgname='perl-sereal-encoder'
-pkgver=3.005
-pkgrel=1
-pkgdesc='Fast, compact, powerful binary serialization'
-_dist='Sereal-Encoder'
+pkgver='3.015'
+pkgrel='1'
+pkgdesc="Fast, compact, powerful binary serialization"
arch=('i686' 'x86_64')
-url="https://metacpan.org/release/$_dist"
-license=('PerlArtistic')
-depends=('perl>=5.8' 'perl-xsloader>=0')
-checkdepends=('perl-test-longstring>=0' 'perl-pathtools>=0' 'perl-test-warn>=0' 'perl-test-simple>=0.88' 'perl-scalar-list-utils>=0' 'perl-data-dumper>=0' 'perl-sereal-decoder>=3.00')
-makedepends=('perl-extutils-parsexs>=2.21' 'perl-file-path>=0')
-provides=()
-options=('!emptydirs' 'purge')
-source=("http://search.cpan.org/CPAN/authors/id/Y/YV/YVES/$_dist-$pkgver.tar.gz")
-sha256sums=('4dac10c61e9ca8901b2a000a6d749a22b0ca0c0c262e07007201811e6b15da48')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-sereal-decoder>=3.00' 'perl>=5.008')
+makedepends=()
+checkdepends=('perl-test-longstring' 'perl-test-warn')
+url='https://metacpan.org/release/Sereal-Encoder'
+source=("http://search.cpan.org/CPAN/authors/id/Y/YV/YVES/Sereal-Encoder-$pkgver.tar.gz")
+md5sums=('78428860e055561e371e3292093c1fc5')
+sha512sums=('82dc43be1f1ec87fb4a582a4cac8bfe5b4e6e8f25645930e2f84c4b253904cf3390e36efdf744781d9211d0e73034da82f5cff131213be6ea20fdfa11a0b397c')
+_distdir="Sereal-Encoder-$pkgver"
-build() (
- cd "$srcdir/$_dist-$pkgver"
- unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
- export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
- /usr/bin/perl Makefile.PL
- make
-)
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
-check() (
- cd "$srcdir/$_dist-$pkgver"
- unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
- export PERL_MM_USE_DEFAULT=1
- make test
-)
+ cd "$srcdir/$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
-package() (
- cd "$srcdir/$_dist-$pkgver"
- unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
- make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
-)
+check() {
+ cd "$srcdir/$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/$_distdir"
+ make install
+
+ find "$pkgdir" "(" -name .packlist -o -name perllocal.pod ")" -delete
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et: