diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-07-14 20:09:23 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-07-16 10:50:49 +0000 |
commit | d6ff84bf422f5bc5a2792806626611f6191b4b55 (patch) | |
tree | 252de5daff7ec3b1a317a31a1096b7b36b1784e1 /main | |
parent | f8237a7b1a2885d39f22f636de619bfc3784cd97 (diff) | |
download | aports-d6ff84bf422f5bc5a2792806626611f6191b4b55.tar.bz2 aports-d6ff84bf422f5bc5a2792806626611f6191b4b55.tar.xz |
main/perl-inline-c: upgrade to 0.78 and modernize
Diffstat (limited to 'main')
-rw-r--r-- | main/perl-inline-c/APKBUILD | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/main/perl-inline-c/APKBUILD b/main/perl-inline-c/APKBUILD index f31a5e7f8c..f34f57a484 100644 --- a/main/perl-inline-c/APKBUILD +++ b/main/perl-inline-c/APKBUILD @@ -3,37 +3,34 @@ # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=perl-inline-c _pkgreal=Inline-C -pkgver=0.76 +pkgver=0.78 pkgrel=0 pkgdesc="Perl module for Inline-C" url="http://search.cpan.org/dist/Inline-C/" arch="noarch" license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev perl-file-sharedir-install $cpanmakedepends" +makedepends="perl-dev perl-file-sharedir-install" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/I/IN/INGY/$_pkgreal-$pkgver.tar.gz" +source="https://cpan.metacpan.org/authors/id/T/TI/TINITA/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + default_prepare + + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" + cd "$builddir" make } package() { - cd "$_builddir" + cd "$builddir" make install DESTDIR="$pkgdir" find "$pkgdir" -name perllocal.pod -delete } -md5sums="c0fbfdd058075c9271a1384c822c9a87 Inline-C-0.76.tar.gz" -sha256sums="22e9713b4d331d3c49e4a9a9f012dbf84cec25a01e5da4f57091be287f1a9a35 Inline-C-0.76.tar.gz" -sha512sums="43bf0bc6addf08c4c3347b074babdc514b1d6cee052d1124c5d9d4a4b52bd0e92ac79f8393f35252a98ef337fb18a9da47cdf545b1010b3f0d9c4b7fd9eb8c6d Inline-C-0.76.tar.gz" +sha512sums="368e68dfb9f1700534d9b391090e340172e3adde5fe15576f883e9341047fec35cea8660751883b27e128ad91dda363d513547368097a989457d669bbbdc8ce4 Inline-C-0.78.tar.gz" |