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

Florian Pritz bluewind at archlinux.org
Wed Aug 1 12:28:14 UTC 2018


    Date: Wednesday, August 1, 2018 @ 12:28:13
  Author: bluewind
Revision: 366810

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 366808, perl-device-serialport/trunk/PKGBUILD)

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

Copied: perl-device-serialport/repos/community-staging-x86_64/PKGBUILD (from rev 366808, perl-device-serialport/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-01 12:28:13 UTC (rev 366810)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Ross melin <rdmelin at gmail.com>
+
+pkgname=perl-device-serialport
+pkgver=1.04
+pkgrel=12
+pkgdesc="POSIX clone of Win32::SerialPort"
+arch=('x86_64')
+url="http://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