David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
pcsc-perl


Commits:
e1e8e872 by David Runge at 2023-07-29T11:00:47+02:00
Update maintainer info to make clear that actually nobody seems to maintain 
this package

- - - - -
c640cb4c by David Runge at 2023-07-29T11:02:33+02:00
Update upstream url to current project location.

- - - - -
7a3667f6 by David Runge at 2023-07-29T11:04:15+02:00
Switch sources to use current project location.

- - - - -
fd65ebc3 by David Runge at 2023-07-29T11:04:59+02:00
Remove unnecessary quotes and curly braces

- - - - -
44953721 by David Runge at 2023-07-29T11:06:54+02:00
Use two spaces instead of four for indentation.

- - - - -
855da9ff by David Runge at 2023-07-29T11:12:55+02:00
Change license identifier to GPL-2.0-or-later as that is stated in the README.

- - - - -
c16c48e7 by David Runge at 2023-07-29T11:13:26+02:00
Simplify package() by not using cd

- - - - -
a1f140cb by David Runge at 2023-07-29T11:14:08+02:00
Use alphabetically sorted bash arrays with one entry per line for better 
handling

- - - - -
3a8a219f by David Runge at 2023-07-29T11:19:41+02:00
upgpkg: 1.4.14-14

Rebuild for perl 5.38.
Add all direct dependencies.
Set the shared lib to be root-writable so that it will be stripped.

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -1,33 +1,38 @@
-# Maintainer: Alad Wenter <a...@mailbox.org>
+# Maintainer:
+# Contributor: Alad Wenter <a...@mailbox.org>
 # Contributor: Giovanni Scafora <giova...@archlinux.org>
 # Contributor: neuromante <lorenzo.nizzi.gr...@gmail.com>
 # Contributor: marc0s <mar...@fsfe.org>
 
 pkgname=pcsc-perl
 pkgver=1.4.14
-pkgrel=13
+pkgrel=14
 pkgdesc="A Perl Module for PC/SC SmartCard access"
-arch=('x86_64')
-url="http://ludovic.rousseau.free.fr/softwares/pcsc-perl/";
-license=('GPL' 'PerlArtistic')
-depends=('pcsclite' 'perl')
-makedepends=('pkgconfig')
-options=('!emptydirs')
-source=("http://ludovic.rousseau.free.fr/softwares/$pkgname/$pkgname-$pkgver.tar.bz2";
-        
"http://ludovic.rousseau.free.fr/softwares/$pkgname/$pkgname-$pkgver.tar.bz2.asc";)
+arch=(x86_64)
+url="https://pcsc-perl.apdu.fr/";
+license=(GPL-2.0-or-later)
+depends=(
+  glibc
+  pcsclite
+  perl
+)
+makedepends=(pkgconfig)
+options=(!emptydirs)
+source=($url/$pkgname-$pkgver.tar.bz2{,.asc})
 sha256sums=('2722b7e5543e4faf3ba1ec6b29a7dfec6d92be1edec09d0a3191992d4d88c69d'
             'SKIP')
 # Ludovic Rousseau <ludovic.rouss...@free.fr>
 validpgpkeys=('F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E')
 
 build() {
-    cd "$pkgname-$pkgver"
+  cd $pkgname-$pkgver
 
-    # install module in vendor directories.
-    PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  # install module in vendor directories.
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
 }
 
 package() {
-    cd "$pkgname-$pkgver"
-    make DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
+  # set the library to be root-writable so it can be stripped
+  chmod 755 "$pkgdir"/usr/lib/perl*/*/vendor_perl/auto/Chipcard/PCSC/PCSC.so
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/pcsc-perl/-/compare/c52a0428397f829474907aefa22137061e6c072e...3a8a219f3f0e87d55b58459afc4bdc0e5bc21a1c

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/pcsc-perl/-/compare/c52a0428397f829474907aefa22137061e6c072e...3a8a219f3f0e87d55b58459afc4bdc0e5bc21a1c
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to