diff options
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9c492933a772 --- /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 000000000000..8b42a6ac1397 --- /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" +} |