blob: c459ab07ecf1d21e0cb219abcdda816b2ac59b77 (
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
30
31
32
33
34
|
# Maintainer: Xuanrui Qi <me@xuanruiqi.com>
pkgname=massivethreads
pkgver=1.02
pkgrel=1
pkgdesc="A Lightweight Thread Library for High Productivity Languages"
arch=('x86_64')
url="https://github.com/massivethreads/massivethreads"
license=('BSD-2-Clause')
depends=('python')
makedepends=('glibc' 'gcc')
optdepends=('sqlite')
options=('!lto')
source=("$pkgname-$pkgver.tar.gz::https://github.com/massivethreads/massivethreads/archive/v$pkgver.tar.gz")
sha256sums=('b2f6320f51cbfbc051226a61baf9323c016c28f033283e269007493afab0123c')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make
}
check() {
cd $srcdir/$pkgname-$pkgver/tests
make build
make check
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR="$pkgdir/" install
install -dm 755 $pkgdir/usr/share/licenses/$pkgname
install COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|