[arch-commits] Commit in perl-tk/repos (staging-x86_64 staging-x86_64/PKGBUILD)

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


    Date: Sunday, June 21, 2020 @ 10:40:41
  Author: felixonmars
Revision: 389737

archrelease: copy trunk to staging-x86_64

Added:
  perl-tk/repos/staging-x86_64/
  perl-tk/repos/staging-x86_64/PKGBUILD
    (from rev 389735, perl-tk/trunk/PKGBUILD)

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

Copied: perl-tk/repos/staging-x86_64/PKGBUILD (from rev 389735, perl-tk/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-06-21 10:40:41 UTC (rev 389737)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: François Charette <francois ατ archlinux δοτ org>
+# Contributor: Jason Chu <jchu at xentac.net>
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=perl-tk
+pkgver=804.035
+pkgrel=2
+pkgdesc="A graphical user interface toolkit for Perl"
+arch=('x86_64')
+url="https://search.cpan.org/dist/Tk"
+license=('PerlArtistic' 'GPL' 'custom')
+depends=('libpng' 'libjpeg' 'tk' 'perl')
+checkdepends=('xorg-server-xvfb' 'perl-devel-leak' 'perl-test-pod' 'ttf-font')
+options=('!emptydirs' '!strip')
+source=("https://www.cpan.org/authors/id/S/SR/SREZIC/Tk-$pkgver.tar.gz")
+sha512sums=('ff6a236e7a2b25ff759a1bfdff517524ade337a03e6da8524f29b9ff958b4e01fe527e53fa7884179f3b1a15c0419a554eeedd471eb4c2f3a1baac5cc3ae1daa')
+
+build() {
+  cd Tk-$pkgver
+
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Tk-$pkgver
+  xvfb-run make -j1 test
+}
+
+package() {
+  cd Tk-$pkgver
+  make install DESTDIR="$pkgdir"
+
+  # license
+  install -D -m644 pTk/license.terms \
+                   "$pkgdir"/usr/share/licenses/$pkgname/tk.license
+  install -D -m644 pTk/Tix.license \
+                   "$pkgdir"/usr/share/licenses/$pkgname/tix.license
+}



More information about the arch-commits mailing list