diff options
author | Dylan Delgado | 2022-06-09 00:10:15 -0400 |
---|---|---|
committer | Dylan Delgado | 2022-06-09 00:10:15 -0400 |
commit | 1b265c48c0c7e1ea75c149a2ac380e94169a8831 (patch) | |
tree | 688508bd40d97274c1bb0880f4e6ee4b300c09d0 | |
download | aur-1b265c48c0c7e1ea75c149a2ac380e94169a8831.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..527c7d999da3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = sherpa-git + pkgdesc = A particle physics package for Monte Carlo simulation of collider events - git version + pkgver = v3.0.0alpha1.r354.g21a28e795 + pkgrel = 1 + url = http://sherpa.hepforge.org + arch = x86_64 + arch = i686 + license = GPL3 + depends = lhapdf + depends = fastjet + depends = hepmc + depends = hepmc2 + depends = openmpi + depends = openloops + depends = rivet + provides = sherpa + conflicts = sherpa + source = git+https://gitlab.com/sherpa-team/sherpa.git + md5sums = SKIP + +pkgname = sherpa-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3ec275575a0c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Dylan Delgado <dylan1496@live.com> +pkgname=sherpa-git +pkgver=v3.0.0alpha1.r354.g21a28e795 +pkgrel=1 +pkgdesc="A particle physics package for Monte Carlo simulation of collider events - git version" +arch=('x86_64' 'i686') +url="http://sherpa.hepforge.org" +conflicts=('sherpa') +provides=('sherpa') +license=('GPL3') +depends=('lhapdf' 'fastjet' 'hepmc' 'hepmc2' 'openmpi' 'openloops' 'rivet') +source=('git+https://gitlab.com/sherpa-team/sherpa.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/sherpa" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "$srcdir/sherpa" + autoreconf -i + ./configure --prefix=/usr --enable-hepmc2=/usr --enable-hepmc3=/usr --enable-fastjet=/usr --enable-lhapdf=/usr --enable-lhole --enable-openloops=. --enable-mpi --enable-openloops=/usr/lib/openloops --enable-rivet=/usr CXXFLAGS=-std=c++11 + make +} + +package() { + cd "$srcdir/sherpa" + make DESTDIR="$pkgdir/" install + for i in init_nlo.sh plot_stats.sh; do + mv $pkgdir/usr/bin/$i $pkgdir/usr/share/SHERPA-MC/ + done +} |