diff options
author | éclairevoyant | 2022-11-21 22:46:47 -0500 |
---|---|---|
committer | éclairevoyant | 2022-11-21 22:48:09 -0500 |
commit | 00ead0b8ac8e7a665c784746d28a8413bc08aa20 (patch) | |
tree | 3f32b78e8ee16bf400e18167e52c2dd69ccc1daf | |
parent | d795c5d9e52a3c24ff3f5f32eee1d776f85b0a8c (diff) | |
download | aur-futhark.tar.gz |
upgpkg 0.22.4, update build process to use sources
Signed-off-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 27 |
3 files changed, 29 insertions, 15 deletions
@@ -1,19 +1,20 @@ pkgbase = futhark pkgdesc = A data-parallel functional programming language. - pkgver = 0.15.3 + pkgver = 0.22.4 pkgrel = 1 url = https://futhark-lang.org/ arch = x86_64 license = ISC + makedepends = cabal-static + makedepends = ghc>=7.0.1 + makedepends = ghc-libs + makedepends = ghc-static depends = ncurses5-compat-libs depends = zlib optdepends = opencl-headers: OpenCL backend optdepends = cuda: CUDA backend optdepends = python-pyopencl: PyOpenCL backend - source = https://github.com/diku-dk/futhark/releases/download/v0.15.3/futhark-0.15.3-linux-x86_64.tar.xz - sha1sums = f3eaeef88a3d59d908c126a73f8d55a884f59386 - sha256sums = df90f913a0fab7d3e1b7dcfcea1d777f637b65301ca4269384f02d5b076747cf - sha512sums = 2717779cd805cec88a27d65b0cbb4114be78274f815f18224a28a9401ebfc8d7c752ed9aebec346ace9990dde129cb04d46e67ef55888cf3915427b4d4c9aa1f + source = futhark-0.22.4.tar.gz::https://github.com/diku-dk/futhark/archive/refs/tags/v0.22.4.tar.gz + sha256sums = 5edf79ed2076192ead64efb8a4d30d05b56b2c1ec5bdd0905c33d6099d312850 pkgname = futhark - diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..05c6d4d4c97b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD @@ -1,25 +1,34 @@ -# Maintainer: Mikael Blomstrand <gmail.com: kmbloms> +# Contributor: éclairevoyant +# Contributor: Mikael Blomstrand <gmail.com: kmbloms> # Contributor: Árni Dagur <arnidg@protonmail.ch> pkgname=futhark -pkgver=0.15.3 +pkgver=0.22.4 pkgrel=1 pkgdesc="A data-parallel functional programming language." arch=('x86_64') url='https://futhark-lang.org/' license=('ISC') depends=('ncurses5-compat-libs' 'zlib') +makedepends=('cabal-static' 'ghc>=7.0.1' 'ghc-libs' 'ghc-static') optdepends=('opencl-headers: OpenCL backend' 'cuda: CUDA backend' 'python-pyopencl: PyOpenCL backend') -source=("https://github.com/diku-dk/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}-linux-x86_64.tar.xz") +source=("$pkgname-$pkgver.tar.gz::https://github.com/diku-dk/$pkgname/archive/refs/tags/v$pkgver.tar.gz") +sha256sums=('5edf79ed2076192ead64efb8a4d30d05b56b2c1ec5bdd0905c33d6099d312850') -sha1sums=('f3eaeef88a3d59d908c126a73f8d55a884f59386') -sha256sums=('df90f913a0fab7d3e1b7dcfcea1d777f637b65301ca4269384f02d5b076747cf') -sha512sums=('2717779cd805cec88a27d65b0cbb4114be78274f815f18224a28a9401ebfc8d7c752ed9aebec346ace9990dde129cb04d46e67ef55888cf3915427b4d4c9aa1f') +prepare() { + cd $pkgname-$pkgver + make configure +} + +build() { + cd $pkgname-$pkgver + make build +} package() { - cd "${srcdir}/${pkgname}-${pkgver}-linux-x86_64" - make PREFIX="${pkgdir}/usr" install - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + cd $pkgname-$pkgver + make PREFIX="$pkgdir/usr" install + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" } |