summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrey Christoforo2019-07-14 19:30:27 +0100
committerGrey Christoforo2019-07-14 19:30:27 +0100
commit9c181d1bda045d181015c2276c9e332cd9c404ad (patch)
treec728b5b5cd1b1d798165ce4fbd5fe4ead5d6e971
parente55486b7c8cd35c948dd2ff4c765f997a55caf3e (diff)
downloadaur-9c181d1bda045d181015c2276c9e332cd9c404ad.tar.gz
patch to fix build
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 58732755258..8593aab6072 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,9 +19,11 @@ source=("https://github.com/KiCad/${_github_project}/archive/${_pkgver}.tar.gz")
md5sums=('0be64488e6beedf056c92ec527881148')
-#prepare() {
+prepare() {
+ cd "${srcdir}/${_github_project}-${_pkgver}"
#sed -i -e 's|boost/uuid/sha1.hpp|boost/uuid/detail/sha1.hpp|g' kicad-source-mirror-5.0.0/3d-viewer/3d_cache/3d_cache.cpp
-#}
+ curl https://github.com/KiCad/kicad-source-mirror/commit/5685174808f5ca973e916a10f9f93660ee4dc4f2.patch | patch -p1
+}
build() {
cd "${srcdir}/${_github_project}-${_pkgver}"