[arch-commits] Commit in perl-gd/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 09:24:01 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:24:01
  Author: foutrelis
Revision: 470133

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-gd/repos/community-staging-x86_64/
  perl-gd/repos/community-staging-x86_64/PKGBUILD
    (from rev 470132, perl-gd/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: perl-gd/repos/community-staging-x86_64/PKGBUILD (from rev 470132, perl-gd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-25 09:24:01 UTC (rev 470133)
@@ -0,0 +1,31 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+aur at gmail.com>
+
+pkgname=perl-gd
+pkgver=2.70
+pkgrel=2
+pkgdesc="Interface to Gd Graphics Library"
+arch=('x86_64')
+url="https://search.cpan.org/dist/GD"
+license=('GPL' 'PerlArtistic')
+depends=('gd')
+makedepends=('perl-extutils-pkgconfig')
+options=('!emptydirs')
+source=(https://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/GD-$pkgver.tar.gz)
+sha256sums=('66b26a322e1fd82ef874721dd5274effcc60eb0c0f3481bf88ddf91529b633e2')
+
+build() {
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \
+    PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \
+    PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \
+    MODULEBUILDRC=/dev/null
+
+  cd  "$srcdir"/GD-$pkgver
+  perl Makefile.PL
+  make
+}
+
+package() {
+  cd  "$srcdir"/GD-$pkgver
+  make install
+}


More information about the arch-commits mailing list