diff options
author | tocic | 2024-01-20 12:24:19 +0300 |
---|---|---|
committer | tocic | 2024-01-20 12:24:19 +0300 |
commit | 61d95cbf66c3747c1a7f7040199c523863e7fcce (patch) | |
tree | 8a1637b54dbad695c5988ad783ff1bad70c5b55d /PKGBUILD | |
parent | 7388512eb32335c2cbd39cec45659c6dc6b25635 (diff) | |
download | aur-concurrentqueue.tar.gz |
Switch to SPDX licenses
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -3,10 +3,10 @@ pkgname=concurrentqueue pkgdesc="A fast multi-producer, multi-consumer lock-free concurrent queue for C++11" pkgver=1.0.4 -pkgrel=1 +pkgrel=2 arch=("any") url="https://github.com/cameron314/concurrentqueue" -license=("Boost" "BSD" "ZLIB") +license=("(BSD-2-Clause AND Zlib) OR (BSL-1.0 AND Zlib)") makedepends=("cmake") source=("${pkgname}-${pkgver}.tar.gz::https://github.com/cameron314/concurrentqueue/archive/v${pkgver}.tar.gz") b2sums=("8019a82e8cac2130e6565a07a153f17762673d1b1254e824ab0aadc9424836452ab89471513975cceb6f161a04480d58ea56679673c8459136d735d4df2de863") @@ -25,4 +25,7 @@ package() { install -D --target-directory="${pkgdir}/usr/share/licenses/${pkgname}/" \ --mode=644 \ "${pkgname}-${pkgver}/LICENSE.md" + awk "/Copyright/,/\/\/ 3\./" "${pkgname}-${pkgver}/lightweightsemaphore.h" \ + | sed "s/\/\/ \?//" \ + > "${pkgdir}/usr/share/licenses/${pkgname}/lightweightsemaphore-Zlib.txt" } |