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

David Runge dvzrv at archlinux.org
Sat Dec 2 19:00:19 UTC 2017


    Date: Saturday, December 2, 2017 @ 19:00:18
  Author: dvzrv
Revision: 271910

upgpkg: clthreads 2.4.0-3

Updating maintainer. Switching to sha512sums. Adding comment about install fix (due to broken install target in Makefile). Minor fixes.

Modified:
  clthreads/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-02 18:43:38 UTC (rev 271909)
+++ PKGBUILD	2017-12-02 19:00:18 UTC (rev 271910)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer : speps <speps at aur dot archlinux dot org>
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
 # Contributor: Christoph Zeiler <rabyte*gmail>
 # Contributor: Tom K <tomk at runbox.com>
 # Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
@@ -7,22 +8,23 @@
 
 pkgname=clthreads
 pkgver=2.4.0
-pkgrel=2
+pkgrel=3
 pkgdesc="C++ wrapper library around the POSIX threads API"
 arch=('x86_64')
 url="http://kokkinizita.linuxaudio.org/linuxaudio/"
 license=('LGPL')
 depends=('gcc-libs')
-source=("${url}downloads/$pkgname-$pkgver.tar.bz2")
-md5sums=('90b650f1f5c9f39f4d77f73aca3c53be')
+source=("${url}downloads/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('c307d9611e0530469b36367f05721e6676d7bb186be97d38b851e66d9f670663ceceedf065823b27ac5864725d52cc2f462fd8d96f1398a202e30d82910ec58b')
 
 build() {
-  cd "$pkgname-$pkgver"
+  cd "${pkgname}-${pkgver}"
   make
 }
 
 package(){
-  cd "$pkgname-$pkgver"
-  install -d "$pkgdir/usr/include"
-  make PREFIX="$pkgdir/usr" LIBDIR=lib install
+  cd "${pkgname}-${pkgver}"
+  # mandatory fix for broken Makefile behavior (upstream fix is requested)
+  install -d "${pkgdir}/usr/include"
+  make PREFIX="${pkgdir}/usr" LIBDIR=lib install
 }



More information about the arch-commits mailing list