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

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 10:25:17 UTC 2022


    Date: Sunday, May 29, 2022 @ 10:25:17
  Author: felixonmars
Revision: 1214189

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

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

Copied: perl-gd/repos/community-staging-x86_64/PKGBUILD (from rev 1214188, perl-gd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-05-29 10:25:17 UTC (rev 1214189)
@@ -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.74
+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=('e222ed99981bcfcc262fffecc1192c1f306349aa5606d478f1ba57963a1124514c537403432e865d4f33a97f0497ecc0188af79a0764cea14b05f95f1c8f7c38')
+
+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