[arch-commits] Commit in glib-perl/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sat Feb 17 12:17:05 UTC 2018
Date: Saturday, February 17, 2018 @ 12:17:04
Author: jgc
Revision: 317210
archrelease: copy trunk to extra-x86_64
Added:
glib-perl/repos/extra-x86_64/PKGBUILD
(from rev 317209, glib-perl/trunk/PKGBUILD)
Deleted:
glib-perl/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-17 12:16:59 UTC (rev 317209)
+++ PKGBUILD 2018-02-17 12:17:04 UTC (rev 317210)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: Sarah Hay <sarah at archlinux.org>
-
-pkgname=glib-perl
-pkgver=1.324
-pkgrel=4
-pkgdesc="Perl wrappers for glib 2.x, including GObject"
-arch=(i686 x86_64)
-license=('LGPL')
-url="http://gtk2-perl.sourceforge.net/"
-options=('!emptydirs')
-depends=('glib2' 'perl')
-makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
-source=(https://downloads.sourceforge.net/sourceforge/gtk2-perl/Glib-${pkgver}.tar.gz)
-sha256sums=('701a214b5b9f17c1b783d807efa1944bfd612939a467b03bc02bd4cf90ad9b4e')
-
-build() {
- cd Glib-$pkgver
- PERL_USE_UNSAFE_INC=1 \
- perl Makefile.PL INSTALLDIRS=vendor
- PERL_USE_UNSAFE_INC=1 \
- make
-}
-
-check() {
- cd Glib-$pkgver
- make test
-}
-
-package() {
- cd Glib-$pkgver
- make DESTDIR="${pkgdir}" install
-
-# template start; name=perl-binary-module-dependency; version=1;
-if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
- _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
- _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
- depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
-fi
-# template end;
-}
Copied: glib-perl/repos/extra-x86_64/PKGBUILD (from rev 317209, glib-perl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-02-17 12:17:04 UTC (rev 317210)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Sarah Hay <sarah at archlinux.org>
+
+pkgname=glib-perl
+pkgver=1.326
+pkgrel=1
+pkgdesc="Perl wrappers for glib 2.x, including GObject"
+arch=(x86_64)
+license=('LGPL')
+url="http://gtk2-perl.sourceforge.net/"
+options=('!emptydirs')
+depends=('glib2')
+makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
+source=(https://downloads.sourceforge.net/sourceforge/gtk2-perl/Glib-${pkgver}.tar.gz)
+sha256sums=('020d0308220cb6e03a086bd45d33dd8fe03b265c502bfc2b4e58f2dbe64c365f')
+
+build() {
+ cd Glib-$pkgver
+ PERL_USE_UNSAFE_INC=1 \
+ perl Makefile.PL INSTALLDIRS=vendor
+ PERL_USE_UNSAFE_INC=1 \
+ make
+}
+
+check() {
+ cd Glib-$pkgver
+ make test
+}
+
+package() {
+ cd Glib-$pkgver
+ make DESTDIR="${pkgdir}" install
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
More information about the arch-commits
mailing list