blob: 0382bbef891a810656198e9a88e3dbfb78376391 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Mykola Dimura <mykola.dimura@gmail.com>
pkgname=readerwriterqueue-git
pkgver=1.0.6.r5.g2dee33a
pkgrel=1
pkgdesc="A fast single-producer, single-consumer lock-free queue for C++."
arch=('any')
url='https://github.com/cameron314/readerwriterqueue'
license=('BSD-2-Clause')
depends=()
makedepends=('git')
provides=(readerwriterqueue)
conflicts=(readerwriterqueue)
options=('!strip' '!buildflags' 'staticlibs')
source=("${pkgname}::git+https://github.com/cameron314/readerwriterqueue.git#branch=master")
sha1sums=('SKIP')
build() {
echo "done"
}
package() {
cd "${pkgname}"
install -D -m644 readerwriterqueue.h atomicops.h -t "${pkgdir}/usr/include/readerwriterqueue"
install -D -m644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
pkgver() {
git -C ${pkgname} describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}
|