summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2015-07-16 21:29:13 -0600
committerBrian Bidulock2015-07-16 21:29:13 -0600
commit8fc87ca12321c4b42312e1496fb9ee1a71eb66c1 (patch)
treeec2316c97bc7d608b50ed813eda7e8390c4cac7b
parent260e756883aee517397237105041281a67dc0f8c (diff)
downloadaur-8fc87ca12321c4b42312e1496fb9ee1a71eb66c1.tar.gz
bump pkgrel for perl 5.22.0
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD16
2 files changed, 8 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 35d8efd6d3a..cf0163b4d93 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = perl-geoip
pkgdesc = GeoIP Perl API
pkgver = 1.45
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/maxmind/geoip-api-perl
arch = i686
arch = x86_64
license = GPL
depends = geoip
- provides = Geo::IP
+ provides = Cassandra::Simple
source = https://github.com/maxmind/geoip-api-perl/archive/v1.45.zip
md5sums = 4f989545128f8e0e2717c23375a9027c
diff --git a/PKGBUILD b/PKGBUILD
index 3921b45389b..b52163cd8ac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,26 @@
# Maintainer: Sebastien Bariteau <numkem@gmail.com>
pkgname=perl-geoip
pkgver=1.45
-pkgrel=1
+pkgrel=2
pkgdesc="GeoIP Perl API"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
license=(GPL)
url="https://github.com/maxmind/geoip-api-perl"
source="https://github.com/maxmind/geoip-api-perl/archive/v${pkgver}.zip"
md5sums=('4f989545128f8e0e2717c23375a9027c')
depends=('geoip')
-provides=('Geo::IP')
-
+provides=('Cassandra::Simple')
build() {
cd "$srcdir/geoip-api-perl-${pkgver}"
# install module in vendor directories.
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make || return 1
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
}
-
-
package() {
cd "$srcdir/geoip-api-perl-${pkgver}"
-
- make install DESTDIR=${pkgdir} || return 1
+ make install DESTDIR=${pkgdir}
# remove perllocal.pod and .packlist
find $pkgdir -name perllocal.pod -delete