summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8bbfe66a13720b04bf11eb0436824e18f38abc27 (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
# Maintainer: Will Handley <wh260@cam.ac.uk> (aur.archlinux.org/account/wjhandley)
_pkgname=lscsoft-glue
pkgname=python2-$_pkgname-git
pkgver=r56231.42fcf346d4
pkgrel=1
pkgdesc="The LIGO Scientific Consortium Algorithm Library Suite. ${_pkgname}"
arch=('any')
url="https://wiki.ligo.org/DASWG/LALSuiteInstall"
license=()
groups=()
depends=('python2')
makedepends=('git' 'python-setuptools')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
source=('lalsuite::git+https://github.com/lscsoft/lalsuite.git')
noextract=()
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/lalsuite"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "$srcdir/lalsuite/glue"
    python2 setup.py install --root="$pkgdir/" --optimize=1
}