summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlfredo Beaumont2020-10-12 19:01:59 +0200
committerAlfredo Beaumont2020-10-12 19:01:59 +0200
commitb43f06b78d15b553a957b2549430d0bbbdfc1d72 (patch)
tree4aee8f8995503fdb71954ffe2149bfbb5310c3cb
parent11a5bad69a4c115b5f94eb4751d73d5a4077b886 (diff)
downloadaur-opendylan.tar.gz
Update to OpenDylan 2020.1
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD31
2 files changed, 23 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 23e25550d76..66538c70ea0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,21 @@
pkgbase = opendylan
pkgdesc = Dylan is an advanced, object-oriented, dynamic language which supports rapid program development.
- pkgver = 2019.1
+ pkgver = 2020.1
pkgrel = 1
url = http://www.opendylan.org
install = opendylan.install
arch = i686
arch = x86_64
+ arch = aarch64
license = custom
- depends = glibc
- depends = gc
+ depends = clang
+ depends = lld
+ optdepends = lldb: debugging support
options = !strip
options = staticlibs
- source = http://opendylan.org/downloads/opendylan/2019.1/opendylan-2019.1-x86_64-linux.tar.bz2
- md5sums = 458a921bd1e1097d3beb02908e3e49a2
+ options = libtool
+ source = https://github.com/dylan-lang/opendylan/releases/download/v2020.1.0/opendylan-2020.1-x86_64-linux.tar.bz2
+ sha256sums = 2d1369018fe362c46ec263ddad85c7e7c1bb60d527abadf6f9b159ad9841903e
pkgname = opendylan
diff --git a/PKGBUILD b/PKGBUILD
index bb5846c423d..3d468974b2d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,32 +4,31 @@
# Maintainer: Alfredo Beaumont <alfredo.beaumont@gmail.com>
pkgname=opendylan
-pkgver=2019.1
+pkgver=2020.1
pkgrel=1
pkgdesc="Dylan is an advanced, object-oriented, dynamic language which supports rapid program development."
-arch=(i686 x86_64)
+arch=(i686 x86_64 aarch64)
url="http://www.opendylan.org"
license=('custom')
install=opendylan.install
-options=(!strip staticlibs)
-
-if [[ $CARCH == "i686" ]]; then
- depends=('glibc')
- source=(http://opendylan.org/downloads/$pkgname/$pkgver/$pkgname-$pkgver-x86-linux.tar.bz2)
- md5sums=('c391b1f1e0f2682b9c8d1f85852532f1')
+options=(!strip staticlibs libtool)
+depends=('clang' 'lld')
+optdepends=('lldb: debugging support')
+if [[ $CARCH == "aarch64" ]]; then
+ source=(https://github.com/dylan-lang/opendylan/releases/download/v$pkgver.0/opendylan-$pkgver-aarch64-linux.tar.bz2)
+ sha256sums=('96b7f4a0e7a3d55d204fd67bff3d11424710e15191bf2b953d4c4366a8947205')
+elif [[ $CARCH == "i686" ]]; then
+ source=(https://github.com/dylan-lang/opendylan/releases/download/v$pkgver.0/opendylan-$pkgver-x86-linux.tar.bz2)
+ sha256sums=('8024b3c9c99d4765e9ba9db3cded720cabd0f5555b1c08e1f7af5ffb18be13a1')
elif [[ $CARCH == "x86_64" ]]; then
- depends=('glibc' 'gc')
- source=(http://opendylan.org/downloads/$pkgname/$pkgver/$pkgname-$pkgver-x86_64-linux.tar.bz2)
- md5sums=('458a921bd1e1097d3beb02908e3e49a2')
+ source=(https://github.com/dylan-lang/opendylan/releases/download/v$pkgver.0/opendylan-$pkgver-x86_64-linux.tar.bz2)
+ sha256sums=('2d1369018fe362c46ec263ddad85c7e7c1bb60d527abadf6f9b159ad9841903e')
fi
package() {
mkdir -p $pkgdir/usr/bin
mkdir -p $pkgdir/opt/$pkgname
- cp -r $srcdir/$pkgname-$pkgver/{bin,databases,lib,sources,share} $pkgdir/opt/$pkgname
- ln -sf /opt/$pkgname/bin/{dswank,dylan-compiler,make-dylan-app,parser-compiler} $pkgdir/usr/bin/$1
- if [[ $CARCH = "x86_64" ]]; then
- cp -r $srcdir/$pkgname-$pkgver/include $pkgdir/opt/$pkgname
- fi
+ cp -r $srcdir/$pkgname-$pkgver/{bin,databases,include,lib,share,sources} $pkgdir/opt/$pkgname
+ ln -sf /opt/$pkgname/bin/{dswank,dylan-compiler,dylan-environment,llvm-runtime-generator,make-dylan-app,minimal-console-scepter,parser-compiler} $pkgdir/usr/bin/$1
install -D -m644 $srcdir/$pkgname-$pkgver/License.txt $pkgdir/usr/share/licenses/$pkgname/License.txt
}