summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorParker Reed2019-03-07 21:31:50 -0500
committerParker Reed2019-03-07 21:31:50 -0500
commit3c68b7705b596b1bf04becde15174c93814350fa (patch)
tree46cd7cd9a1190ea47664a1f8d66716c82ff135b0 /PKGBUILD
parent84c71d1a340f8f1c3716504d39056328e8ced08c (diff)
downloadaur-aasdk-git.tar.gz
Build fix, thanks to urizen
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 11 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1e3f4bc7717..eb4a932db65 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,14 +11,23 @@ provides=($_pkgname)
conflicts=($_pkgname)
depends=('libusb' 'protobuf' 'openssl' 'boost-libs')
makedepends=('cmake' 'boost' 'git')
-source=("$pkgname::git+https://github.com/f1xpl/aasdk.git#branch=master")
-md5sums=('SKIP')
+source=(
+ "$pkgname::git+https://github.com/f1xpl/aasdk.git#branch=master"
+ promise.patch
+)
+md5sums=('SKIP'
+ 'SKIP')
pkgver() {
cd $pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
+prepare() {
+ cd $pkgname
+ patch --forward --strip=1 --input="${srcdir}/promise.patch"
+}
+
build() {
cd $pkgname
mkdir -p aasdk_build