[arch-commits] Commit in clthreads/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Oct 3 14:39:46 UTC 2019
Date: Thursday, October 3, 2019 @ 14:39:45
Author: dvzrv
Revision: 512504
archrelease: copy trunk to community-x86_64
Added:
clthreads/repos/community-x86_64/PKGBUILD
(from rev 512503, clthreads/trunk/PKGBUILD)
Deleted:
clthreads/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 79 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-03 14:39:40 UTC (rev 512503)
+++ PKGBUILD 2019-10-03 14:39:45 UTC (rev 512504)
@@ -1,39 +0,0 @@
-# $Id$
-# 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>
-# Contributor: Philipp Überbacher <murks at lavabit dot com>
-
-pkgname=clthreads
-pkgver=2.4.2
-pkgrel=3
-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")
-sha512sums=('a91de7a287c2cb9b2ce17e4c158db79bbaeccb278510d11e6c05fcbe9295c26b4d0231fa97800b265decd1d0886b7425f7b5d4cbcb18758be540356408e72131')
-
-prepare() {
- cd "${pkgname}-${pkgver}/source"
- # remove optimization
- # call ldconfig in local context
- # remove wrongly applied use of PREFIX (line 54,55)
- sed -e '/native/d' \
- -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
- -e 's/(PREFIX)\/\$//g' \
- -i Makefile
-}
-
-build() {
- cd "${pkgname}-${pkgver}/source"
- make
-}
-
-package(){
- cd "${pkgname}-${pkgver}/source"
- make DESTDIR="${pkgdir}/" PREFIX='/usr' LIBDIR='/usr/lib' install
-}
Copied: clthreads/repos/community-x86_64/PKGBUILD (from rev 512503, clthreads/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-03 14:39:45 UTC (rev 512504)
@@ -0,0 +1,40 @@
+# 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>
+# Contributor: Philipp Überbacher <murks at lavabit dot com>
+
+pkgname=clthreads
+pkgver=2.4.2
+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' 'glibc')
+provides=('libclthreads.so')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('a91de7a287c2cb9b2ce17e4c158db79bbaeccb278510d11e6c05fcbe9295c26b4d0231fa97800b265decd1d0886b7425f7b5d4cbcb18758be540356408e72131')
+
+prepare() {
+ cd "${pkgname}-${pkgver}/source"
+ # remove optimization
+ # call ldconfig in local context
+ # remove wrongly applied use of PREFIX (line 54,55)
+ sed -e '/native/d' \
+ -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
+ -e 's/(PREFIX)\/\$//g' \
+ -i Makefile
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ make -C source
+}
+
+package(){
+ 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