summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 80b2904a2244aae7ee87dbfe1b99fd14e9933ac1 (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
pkgname=threadpool11-git
pkgdesc='A fast, lock-free, cross-platform C++11 thread pooling library that is aiming to be lightweight and simple.'
pkgver=3.0.0.r3.g8998e5c
pkgver() {
  cd "$pkgname"
  git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
pkgrel=1
source=("$pkgname"'::git+https://github.com/tghosgor/threadpool11.git')
arch=('any')
url='https://github.com/tghosgor/threadpool11'
license=('MIT')
makedepends=(
  'boost'
  'cmake'
  'git'
  'make'
)
sha512sums=('SKIP')
options=('staticlibs')

package() {
  cd "$srcdir"/$pkgname
  cmake -DCMAKE_INSTALL_PREFIX="$pkgdir"/usr
  make install
}