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

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 08:43:13 UTC 2021


    Date: Monday, May 24, 2021 @ 08:43:12
  Author: foutrelis
Revision: 944093

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

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

Copied: perl-gd/repos/community-staging-x86_64/PKGBUILD (from rev 944090, perl-gd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-24 08:43:12 UTC (rev 944093)
@@ -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.72
+pkgrel=2
+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)
+sha512sums=('93a42c2385673ce8133102adc125da966f8a8abcebe4a0a9d87ae3e77a84870138db81f532e393eb1c5be4b12c71b737bd5b85ed84cf4b8580f08a5296189103')
+
+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