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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 11:38:49 UTC 2019


    Date: Saturday, May 25, 2019 @ 11:38:49
  Author: foutrelis
Revision: 470410

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-device-serialport/repos/community-staging-x86_64/
  perl-device-serialport/repos/community-staging-x86_64/PKGBUILD
    (from rev 470409, perl-device-serialport/trunk/PKGBUILD)

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

Copied: perl-device-serialport/repos/community-staging-x86_64/PKGBUILD (from rev 470409, perl-device-serialport/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-25 11:38:49 UTC (rev 470410)
@@ -0,0 +1,28 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Ross melin <rdmelin at gmail.com>
+
+pkgname=perl-device-serialport
+pkgver=1.04
+pkgrel=13
+pkgdesc="POSIX clone of Win32::SerialPort"
+arch=('x86_64')
+url="https://search.cpan.org/dist/Device-SerialPort"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=(https://www.cpan.org/authors/id/C/CO/COOK/Device-SerialPort-$pkgver.tar.gz)
+sha256sums=('d392567cb39b4ea606c0e0acafd8ed72320311b995336ece5fcefcf9b150e9d7')
+
+build() {
+  cd  "$srcdir"/Device-SerialPort-$pkgver
+  eval `perl -V:archname`
+  PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  "$srcdir"/Device-SerialPort-$pkgver
+  make DESTDIR="$pkgdir" install
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list