diff options
author | Hans-Nikolai Viessmann | 2019-09-09 10:54:19 +0200 |
---|---|---|
committer | Hans-Nikolai Viessmann | 2019-09-09 10:54:19 +0200 |
commit | 5697a206d80af5859078afb3331f38113deaad70 (patch) | |
tree | 563889aaa49403679ca70fd68db93107bbdf9c71 | |
download | aur-5697a206d80af5859078afb3331f38113deaad70.tar.gz |
initial commit, version 3.0
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c916c5d4d060 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = clean-lang-bin + pkgdesc = Clean is a general purpose, pure and lazy functional programming language. + pkgver = 3.0 + pkgrel = 1 + url = https://clean.cs.ru.nl + arch = x86_64 + license = custom:CLEAN + depends = glibc + provides = clean-lang + conflicts = clean-lang + replaces = clean-lang + source = https://ftp.cs.ru.nl/Clean/Clean30/linux/clean3.0_64.tar.gz + sha256sums = c71024cc6d27df357fed771a75f5d43e584369c3ee963bfd6d5cffe9af731ca8 + +pkgname = clean-lang-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c5a350006b92 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Hans-Nikolai Viessmann <hans AT viess.mn> + +pkgname=clean-lang-bin +pkgver=3.0 +pkgrel=1 +pkgdesc="Clean is a general purpose, pure and lazy functional programming language." +arch=('x86_64') +url="https://clean.cs.ru.nl" +license=('custom:CLEAN') +depends=('glibc') +conflicts=('clean-lang') +provides=('clean-lang') +replaces=('clean-lang') +source=("https://ftp.cs.ru.nl/Clean/Clean30/linux/clean${pkgver}_64.tar.gz") +sha256sums=('c71024cc6d27df357fed771a75f5d43e584369c3ee963bfd6d5cffe9af731ca8') + +package() { + cd "${pkgname/-lang-bin/}" + + # install the main files (does a bit of compiling as well...) + make INSTALL_DIR="$pkgdir/usr" INSTALL_MAN_DIR="$pkgdir/usr/share" install + + # resolve permissions on binaries + chmod go+r "$pkgdir/usr/bin/BatchBuild" "$pkgdir/usr/bin/clm" \ + "$pkgdir/usr/bin/htoclean" "$pkgdir/usr/lib/exe/cg" \ + "$pkgdir/usr/lib/exe/cocl" "$pkgdir/usr/lib/exe/linker" + + # install license + install -Dm644 CleanLicenseConditions.txt "$pkgdir/usr/share/licenses/${pkgname}/CleanLicenseConditions.txt" +} |