mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 08:26:49 +02:00
30 lines
820 B
Text
30 lines
820 B
Text
# Contributor: Andrej Kolčin <self@kaathewise.net>
|
|
# Maintainer: Andrej Kolčin <self@kaathewise.net>
|
|
pkgname=futhark
|
|
pkgver=0.25.28
|
|
pkgrel=0
|
|
pkgdesc="A data-parallel functional programming language"
|
|
url="https://futhark-lang.org/"
|
|
arch="aarch64 x86_64" # Limited by Cabal, which in turn is limited by GHC
|
|
license="ISC"
|
|
makedepends="make cabal zlib-dev ncurses-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/diku-dk/futhark/archive/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
make configure
|
|
make build
|
|
}
|
|
|
|
check() {
|
|
make unittest
|
|
}
|
|
|
|
package() {
|
|
PREFIX="$pkgdir"/usr/ make install
|
|
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|
|
|
|
sha512sums="
|
|
a918b0c96d6899cce864e4de22ba5bd89630b5784c9103f1a2798fade19a5cbf0e35213823a69cb146c3f7e8a145f4b4c1c87c51e17d95fa6c902bdc38c59014 futhark-0.25.28.tar.gz
|
|
"
|