diff options
author | Frank Siegert | 2015-06-19 00:39:55 +0200 |
---|---|---|
committer | Frank Siegert | 2015-06-19 00:39:55 +0200 |
commit | ed2f05f1b614dc3bec605c46c851df1958f22449 (patch) | |
tree | 4ff5e581ca6d8cbc5c5e9fec042b15f0204eaad7 | |
download | aur-ed2f05f1b614dc3bec605c46c851df1958f22449.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..394471f9153a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = yoda-hg + pkgdesc = A particle physics package for data analysis (specifically histogramming) classes -- latest build from hg-repo. + pkgver = r1060.63c03a9d5e8f + pkgrel = 1 + url = http://yoda.hepforge.org + arch = x86_64 + arch = i686 + license = GPL2 + makedepends = cython2 + makedepends = boost + makedepends = mercurial + makedepends = autoconf + makedepends = libtool + makedepends = automake + depends = python2 + provides = yoda + conflicts = yoda + source = hg+https://yoda.hepforge.org/hg/yoda + md5sums = SKIP + +pkgname = yoda-hg + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c873eeb7af8b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Frank Siegert <frank.siegert@googlemail.com> +pkgname=yoda-hg +pkgver=r1060.63c03a9d5e8f +pkgrel=1 +pkgdesc="A particle physics package for data analysis (specifically histogramming) classes -- latest build from hg-repo." +arch=('x86_64' 'i686') +url="http://yoda.hepforge.org" +license=('GPL2') +conflicts=('yoda') +provides=('yoda') +depends=('python2') +makedepends=('cython2' 'boost' 'mercurial' 'autoconf' 'libtool' 'automake') +source=('hg+https://yoda.hepforge.org/hg/yoda') +md5sums=('SKIP') + +prepare() { + cd "$srcdir/yoda" + sed -e 's/\/usr\/bin\/env python$/\/usr\/bin\/env python2/g' -i bin/* pyext/yoda/mktemplates pyext/setup.py.in + sed -e 's/cython /cython2 /g' -i pyext/yoda/Makefile.am +} + +build() { + cd "$srcdir/yoda" + export PYTHON=/usr/bin/python2 + autoreconf -i + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/yoda" + make DESTDIR="$pkgdir/" install + mkdir -p $pkgdir/etc/bash_completion.d + mv $pkgdir/usr/share/YODA/yoda-completion $pkgdir/etc/bash_completion.d +} + +pkgver() { + cd "$srcdir/yoda" + printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)" +} |