summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
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