[arch-commits] Commit in clthreads/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Oct 3 14:39:40 UTC 2019
Date: Thursday, October 3, 2019 @ 14:39:40
Author: dvzrv
Revision: 512503
upgpkg: clthreads 2.4.2-4
Adding docs and libclthreads.so to provides. Minor cleanups.
Modified:
clthreads/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-03 13:35:48 UTC (rev 512502)
+++ PKGBUILD 2019-10-03 14:39:40 UTC (rev 512503)
@@ -7,13 +7,14 @@
pkgname=clthreads
pkgver=2.4.2
-pkgrel=3
+pkgrel=4
pkgdesc="C++ wrapper library around the POSIX threads API"
arch=('x86_64')
url="https://kokkinizita.linuxaudio.org/linuxaudio/"
license=('LGPL2.1')
-depends=('gcc-libs')
-source=("${url}downloads/${pkgname}-${pkgver}.tar.bz2")
+depends=('gcc-libs' 'glibc')
+provides=('libclthreads.so')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2")
sha512sums=('a91de7a287c2cb9b2ce17e4c158db79bbaeccb278510d11e6c05fcbe9295c26b4d0231fa97800b265decd1d0886b7425f7b5d4cbcb18758be540356408e72131')
prepare() {
@@ -28,11 +29,12 @@
}
build() {
- cd "${pkgname}-${pkgver}/source"
- make
+ cd "${pkgname}-${pkgver}"
+ make -C source
}
package(){
- cd "${pkgname}-${pkgver}/source"
- make DESTDIR="${pkgdir}/" PREFIX='/usr' LIBDIR='/usr/lib' install
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}/" PREFIX='/usr' LIBDIR='/usr/lib' -C source install
+ install -vDm 644 AUTHORS -t "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list