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

Felix Yan felixonmars at archlinux.org
Sun Jun 21 10:40:09 UTC 2020


    Date: Sunday, June 21, 2020 @ 10:40:08
  Author: felixonmars
Revision: 649079

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 649076, perl-gd/trunk/PKGBUILD)

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

Copied: perl-gd/repos/community-staging-x86_64/PKGBUILD (from rev 649076, perl-gd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-06-21 10:40:08 UTC (rev 649079)
@@ -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.71
+pkgrel=3
+pkgdesc="Interface to Gd Graphics Library"
+arch=('x86_64')
+url="https://search.cpan.org/dist/GD"
+license=('GPL' 'PerlArtistic')
+depends=('perl' 'gd')
+makedepends=('perl-extutils-pkgconfig')
+options=('!emptydirs')
+source=(https://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/GD-$pkgver.tar.gz)
+sha256sums=('451be4873b2ad7261cc5679698cd9d2e84dbdde4309971869fc7734b569b7ac7')
+
+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