summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorosch2020-04-14 19:45:03 +0200
committerosch2020-04-14 19:49:42 +0200
commitee5abfd9c6b6d952e2a365c1b1298b6c64a404be (patch)
tree4719ee2963d30ea8db9e108a84af2a55132559ad
parent77c5cc712557b9f51d4013b3b536055d7960e9df (diff)
downloadaur-ee5abfd9c6b6d952e2a365c1b1298b6c64a404be.tar.gz
pkgrel 2: Fix for https://github.com/axoloti/axoloti/issues/456
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 75590adce106..85862a898047 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = axoloti
pkgdesc = Firmware and GUI for the Axoloti Core
pkgver = 1.0.12_2
- pkgrel = 1
+ pkgrel = 2
url = http://www.axoloti.com
install = axoloti.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 6c979ee1f066..2b86fae5f43d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,10 @@
-# Maintainer: gato_lento <vukk.euob at gmail>
+# Maintainer: osch <oliver@luced.de>
+# gato_lento <vukk.euob at gmail>
# Based on axoloti-git and axoloti-runtime-git PKGBUILDs by: Joakim Reinert <mail+aur@jreinert.com>
pkgname=axoloti
pkgver=1.0.12_2
-pkgrel=1
+pkgrel=2
pkgdesc='Firmware and GUI for the Axoloti Core'
arch=('x86_64')
url='http://www.axoloti.com'
@@ -57,6 +58,8 @@ build() {
USB_LIBS="$srcdir/${pkgname}-runtime/platform_linux/lib/libusb-1.0.a -ludev -pthread" \
USB_CFLAGS="-I$srcdir/${pkgname}-runtime/platform_linux/include/libusb-1.0/"
make
+ sed -i -e 's/SPACE := */EMPTY :=/' "$srcdir/$pkgname"/firmware/Makefile.patch
+ sed -i -e 's/SPACE += */SPACE := \$(EMPTY) \$(EMPTY)/' "$srcdir/$pkgname"/firmware/Makefile.patch
make install
make clean
ldd "$srcdir/${pkgname}-runtime/platform_linux/bin/dfu-util"