summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbpark2016-04-27 01:49:47 +0900
committercbpark2016-04-27 01:49:47 +0900
commit068c6ca4c8ace9163a5de8371fac0bec602adebf (patch)
treed0e9fca6e309b8442bcd3771b55dad9c1d84e4b2
downloadaur-068c6ca4c8ace9163a5de8371fac0bec602adebf.tar.gz
addpkg: thepeg 2.0.1-1
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD25
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9c492933a77
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = thepeg
+ pkgdesc = Toolkit for High Energy Physics Event Generation
+ pkgver = 2.0.1
+ pkgrel = 1
+ url = http://thepeg.hepforge.org
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = gsl
+ depends = lhapdf
+ depends = hepmc
+ depends = rivet
+ depends = zlib
+ depends = fastjet
+ depends = boost
+ source = http://www.hepforge.org/archive/thepeg/ThePEG-2.0.1.tar.bz2
+ sha256sums = ec284abdc82ceaf10a8736f908e7955f49f872b79aaa62d22aa33bc5c7679bdb
+
+pkgname = thepeg
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8b42a6ac139
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Chan Beom Park <cbpark@gmail.com>
+
+_pkgrname=ThePEG
+pkgname=thepeg
+pkgver=2.0.1
+pkgrel=1
+pkgdesc="Toolkit for High Energy Physics Event Generation"
+arch=("i686" "x86_64")
+url="http://thepeg.hepforge.org"
+license=('GPL')
+depends=("gsl" "lhapdf" "hepmc" "rivet" "zlib" "fastjet" "boost")
+source=("http://www.hepforge.org/archive/thepeg/${_pkgrname}-$pkgver.tar.bz2")
+sha256sums=('ec284abdc82ceaf10a8736f908e7955f49f872b79aaa62d22aa33bc5c7679bdb')
+
+build() {
+ cd "${_pkgrname}-$pkgver"
+ ./configure --prefix=/usr --with-lhapdf=/usr --with-fastjet=/usr
+ make
+}
+
+package() {
+ cd "${_pkgrname}-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}