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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 21:08:25 UTC 2018


    Date: Friday, November 9, 2018 @ 21:08:24
  Author: felixonmars
Revision: 404531

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

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

Copied: perl-template-gd/repos/community-staging-any/PKGBUILD (from rev 404529, perl-template-gd/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 21:08:24 UTC (rev 404531)
@@ -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=6
+pkgdesc="GD plugin(s) for the Template Toolkit"
+arch=('any')
+url="http://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