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

Felix Yan felixonmars at archlinux.org
Mon May 24 11:34:23 UTC 2021


    Date: Monday, May 24, 2021 @ 11:34:23
  Author: felixonmars
Revision: 944620

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

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

Copied: perl-device-serialport/repos/community-staging-x86_64/PKGBUILD (from rev 944618, perl-device-serialport/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-24 11:34:23 UTC (rev 944620)
@@ -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=16
+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