summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8cd60f15faf38a3a413cb76df972b923358ab89d (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
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: George Stelle <stelleg@gmail.com>
pkgname=argobots-git
pkgver=v1.0a1.r46.g8394f8a
pkgrel=1
pkgver() {
  cd "$pkgname"
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
pkgdesc="Lightweight, low-level threading and tasking framework"
arch=('x86_64')
url=""
license=('GPL')
source=("$pkgname"::"git+https://github.com/pmodels/argobots.git")
noextract=()
md5sums=('SKIP')
makedepends=('git automake autoconf gcc libtool')

build() {
	cd "$pkgname"
  ./autogen.sh
	./configure --prefix=/usr
	make
}

package() {
	cd "$pkgname"
	make DESTDIR="$pkgdir/" install
}