[arch-commits] Commit in clthreads/repos (2 files)

David Runge dvzrv at archlinux.org
Thu Aug 30 23:54:53 UTC 2018


    Date: Thursday, August 30, 2018 @ 23:54:53
  Author: dvzrv
Revision: 375799

archrelease: copy trunk to community-testing-x86_64

Added:
  clthreads/repos/community-testing-x86_64/
  clthreads/repos/community-testing-x86_64/PKGBUILD
    (from rev 375798, clthreads/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: clthreads/repos/community-testing-x86_64/PKGBUILD (from rev 375798, clthreads/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-08-30 23:54:53 UTC (rev 375799)
@@ -0,0 +1,41 @@
+# $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=1
+pkgdesc="C++ wrapper library around the POSIX threads API"
+arch=('x86_64')
+url="https://kokkinizita.linuxaudio.org/linuxaudio/"
+license=('LGPL')
+depends=('gcc-libs')
+source=("${url}downloads/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('a91de7a287c2cb9b2ce17e4c158db79bbaeccb278510d11e6c05fcbe9295c26b4d0231fa97800b265decd1d0886b7425f7b5d4cbcb18758be540356408e72131')
+
+prepare() {
+  cd "${pkgname}-${pkgver}/source"
+  # remove optimization
+  # remove local call to ldconfig
+  sed -e '/native/d' \
+      -e '/ldconfig/d' \
+      -i Makefile
+}
+
+build() {
+  cd "${pkgname}-${pkgver}/source"
+  make
+}
+
+package(){
+  cd "${pkgname}-${pkgver}/source"
+  # install header, shared object and symlink manually, as Makefile is broken
+  install -vDm 644 "${pkgname}.h" -t "${pkgdir}/usr/include/"
+  install -vDm 755 "lib${pkgname}.so.${pkgver}" -t "${pkgdir}/usr/lib/"
+  ln -sv "lib${pkgname}.so.${pkgver}" "${pkgdir}/usr/lib/lib${pkgname}.so"
+  install -vDm 644 ../AUTHORS -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list