summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 16 insertions, 20 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2791d7d3e93..150583a38f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Will Price <will.price94+aur@gmail.com>
pkgname=xtimecomposer
-pkgver=13.2.0
-pkgrel=3
+pkgver=14.1.2
+pkgrel=1
pkgdesc="Eclipse based IDE for the xCORE microcontrollers"
arch=('x86_64' 'i686')
url="https://www.xmos.com/products/tools/xtimecomposer"
@@ -9,27 +9,23 @@ license=('Custom')
provides=('xtimecomposer')
options=(!strip staticlibs)
depends=(java-runtime)
-source=('xtimecomposer.patch'
- 'xtimecomposer')
-md5sums=('f6b95cdf13917852a11e58d60153059d'
- '7883a9fe1f797babbbb85864709bfefa')
-_package="xTIMEcomposer-Community_${pkgver%%.*}-Linux64-Installer(Community_$pkgver).tgz"
+
+source=("xTIMEcomposer-Community_${pkgver%%.*}-Linux64-Installer_Community_$pkgver.tgz::https://www.xmos.com/published/xtimecomposer-community_14-linux64-installer?ver=latest")
+md5sums=('3a12a68247022083e624f19e85662fa1')
+
+# Don't compress as it takes forever!
+PKGEXT=".tar"
prepare() {
- echo $_package
- if [[ ! -f "$_package" ]]; then
- echo 'You must download xTIMEcomposer and put
-it into the `src` folder' && exit 1
- fi
- tar -xvf "$srcdir/$_package"
- cd "$srcdir/XMOS/xTIMEcomposer/Community_$pkgver/bin"
- patch < "$srcdir/xtimecomposer.patch"
+ ln -s --force \
+ /usr/lib/libpangoft2-1.0.so.0 \
+ "$srcdir/XMOS/xTIMEcomposer/Community_${pkgver}/xtimecomposer_bin/swtbrowserlibs/"
}
package() {
- cd "$srcdir/XMOS/"
- mkdir -p "$pkgdir"/usr/{share,bin}
- cp -r xTIMEcomposer "$pkgdir/usr/share"
- cd "$pkgdir/usr/bin"
- install -m 755 "$srcdir/xtimecomposer" .
+ cd "$srcdir/XMOS/"
+ mkdir -p "$pkgdir"/usr/{share,bin}
+ cp -r xTIMEcomposer "$pkgdir/usr/share"
+ cd "$pkgdir/usr/bin"
+ ln -s /usr/share/xTIMEcomposer/Community_${pkgver}/bin/xtimecomposer .
}