diff options
author | Yichao Zhou | 2019-04-03 16:06:44 -0700 |
---|---|---|
committer | Yichao Zhou | 2019-04-03 16:08:59 -0700 |
commit | 5cfd617e1434159fb33ab50b61da6044bd7e5dbf (patch) | |
tree | 998f844a6fe2f633fc71e2f6ee42f11a952b644e /PKGBUILD | |
download | aur-upcxx.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..98b334a8a1a0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Yichao Zhou <broken.zhou@gmail.com> +pkgname=upcxx +pkgver=2019.3.0 +pkgrel=0 +pkgdesc="UPC++ is a C++ library that supports Partitioned Global Address Space (PGAS) programming." +url="https://bitbucket.org/berkeleylab/upcxx/wiki/Home" +arch=('i686' 'x86_64') +license=('BSD') +depends=() +optdepends=() +makedepends=() +replaces=() +provides=() +source=( + https://bitbucket.org/berkeleylab/upcxx/downloads/upcxx-${pkgver}-offline.tar.gz + upcxx.sh +) +md5sums=('SKIP' 'SKIP') + + +build() { + ls + # echo "export PATH='$PATH'" + # cd upcxx-${pkgver}-offline + # rm -rf ins + # mkdir ins + # ./install ins +} + +package() { + mkdir -p "${pkgdir}/opt" + cp -r ${srcdir}/upcxx-${pkgver}-offline/ins "${pkgdir}/opt/upcxx" + install -Dm755 "${srcdir}/${source[1]}" "${pkgdir}/etc/profile.d/upcxx.sh" +} |