diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..15b3a8a7f62b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = easybuild-easyblocks-git + pkgdesc = A software build and installation framework for HPC systems + pkgver = 3.5.1.r4.g2cab3dea + pkgrel = 2 + url = https://github.com/easybuilders/easybuild-easyblocks + arch = any + groups = easybuild-git + license = GPL + makedepends = git + makedepends = python2-setuptools + depends = python2 + depends = easybuild-framework-git + source = git+https://github.com/easybuilders/easybuild-easyblocks.git#branch=develop + md5sums = SKIP + +pkgname = easybuild-easyblocks-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..39dc9a4b2a80 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Hans-Nikolai Viessmann <hv15 AT hw.ac.uk> +pkgname='easybuild-easyblocks-git' +pkgver=3.5.1.r4.g2cab3dea +pkgrel=2 +pkgdesc="A software build and installation framework for HPC systems" +arch=('any') +groups=('easybuild-git') +url="https://github.com/easybuilders/easybuild-easyblocks" +license=('GPL') +depends=('python2' 'easybuild-framework-git') +makedepends=('git' 'python2-setuptools') +source=('git+https://github.com/easybuilders/easybuild-easyblocks.git#branch=develop') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/easybuild-easyblocks" + printf "%s" "$(git describe --long | sed 's/\([^-]*-g\)/r\1/;s/.*v\(.*\)$/\1/;s/-/./g')" +} + + +package() { + cd "$srcdir/easybuild-easyblocks" + python2 setup.py install --root "$pkgdir" --optimize=1 +} |