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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:53:30 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:53:30
  Author: felixonmars
Revision: 658628

archrelease: copy trunk to community-staging-any

Added:
  perl-template-gd/repos/community-staging-any/
  perl-template-gd/repos/community-staging-any/PKGBUILD
    (from rev 658627, perl-template-gd/trunk/PKGBUILD)

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

Copied: perl-template-gd/repos/community-staging-any/PKGBUILD (from rev 658627, perl-template-gd/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 13:53:30 UTC (rev 658628)
@@ -0,0 +1,27 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+aur at gmail.com>
+
+pkgname=perl-template-gd
+pkgver=2.66
+pkgrel=7
+pkgdesc="GD plugin(s) for the Template Toolkit"
+arch=('any')
+url="https://search.cpan.org/dist/Template-GD"
+license=('GPL' 'PerlArtistic')
+depends=('perl-template-toolkit>=2.14' 'perl-gd>=1.14')
+options=('!emptydirs')
+source=(https://www.cpan.org/authors/id/A/AB/ABW/Template-GD-$pkgver.tar.gz)
+sha256sums=('98523c8192f2e8184042e5a2e172bd767ac289dd2e480f35f680dce32160905b')
+
+build() {
+  cd  "$srcdir"/Template-GD-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  "$srcdir"/Template-GD-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}


More information about the arch-commits mailing list