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

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 11:55:15 UTC 2022


    Date: Sunday, May 29, 2022 @ 11:55:15
  Author: felixonmars
Revision: 1214539

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

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

Copied: perl-device-serialport/repos/community-staging-x86_64/PKGBUILD (from rev 1214538, perl-device-serialport/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-05-29 11:55:15 UTC (rev 1214539)
@@ -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=17
+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