[arch-commits] Commit in pkcs11-helper/trunk (PKGBUILD)

Christian Hesse eworm at archlinux.org
Fri Oct 19 08:59:24 UTC 2018


    Date: Friday, October 19, 2018 @ 08:59:24
  Author: eworm
Revision: 336879

use static release tarball

Modified:
  pkcs11-helper/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-19 08:52:24 UTC (rev 336878)
+++ PKGBUILD	2018-10-19 08:59:24 UTC (rev 336879)
@@ -11,11 +11,11 @@
 url='https://github.com/OpenSC/pkcs11-helper'
 license=(GPL BSD)
 depends=('gnutls' 'nss' 'openssl')
-source=("https://github.com/OpenSC/pkcs11-helper/archive/pkcs11-helper-$pkgver.tar.gz")
-sha512sums=('d9e7d63747529a0af21eb18c822ec23c25f613dfa2a9c7bcdc1749e70ec4f6aa6ffd1a2ab731e2cbaaf576a6a0e612923a15cace79dc6119b1ef4fd7ac79f269')
+source=("https://github.com/OpenSC/${pkgname}/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('10dd8a1dbcf41ece051fdc3e9642b8c8111fe2c524cb966c0870ef3413c75a77')
 
 build() {
-  cd pkcs11-helper-pkcs11-helper-$pkgver
+  cd pkcs11-helper-$pkgver
   libtoolize
   aclocal
   autoheader
@@ -26,9 +26,9 @@
 }
 
 package() {
-  cd pkcs11-helper-pkcs11-helper-$pkgver
+  cd pkcs11-helper-$pkgver
   make DESTDIR="$pkgdir" install
   mkdir -p "$pkgdir"/usr/share/licenses/$pkgname/
-  install -Dm644 COPYING* "$pkgdir"/usr/share/licenses/$pkgname/
+  install -D -m0644 COPYING* "$pkgdir"/usr/share/licenses/$pkgname/
 }
 



More information about the arch-commits mailing list