summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD15
2 files changed, 16 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 955e0e59172..ad43db662bc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Tue Jan 12 17:06:17 UTC 2016
pkgbase = libopencm3-git
pkgdesc = Open Source firmware library for various ARM Cortex microcontrollers
- pkgver = r1748.01f08c4
+ pkgver = r1767.ad5ec6a
pkgrel = 1
url = http://www.libopencm3.org/
arch = any
@@ -13,7 +15,9 @@ pkgbase = libopencm3-git
options = staticlibs
options = !buildflags
source = git://github.com/libopencm3/libopencm3.git
+ source = remove_install.patch::https://github.com/libopencm3/libopencm3/commit/7c1cd2e5cd3f3d1193ee375b46cfd8afaccb89f7.patch
sha256sums = SKIP
+ sha256sums = d611a1dedd6b86eed552247bf13ee06343b14adfa863b9edc52039441b18120d
pkgname = libopencm3-git
diff --git a/PKGBUILD b/PKGBUILD
index 55c30ac3696..bc906cc6197 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Martin Schmölzer <mschmoelzer@gmail.com>
pkgname=libopencm3-git
-pkgver=r1748.01f08c4
+pkgver=r1767.ad5ec6a
pkgrel=1
pkgdesc='Open Source firmware library for various ARM Cortex microcontrollers'
arch=(any)
@@ -9,17 +9,24 @@ url='http://www.libopencm3.org/'
license=(GPL)
makedepends=(git arm-none-eabi-gcc arm-none-eabi-newlib python-yaml)
options=(!strip staticlibs !buildflags)
-source=(git://github.com/libopencm3/libopencm3.git)
-sha256sums=('SKIP')
+source=(git://github.com/libopencm3/libopencm3.git
+ remove_install.patch::https://github.com/libopencm3/libopencm3/commit/7c1cd2e5cd3f3d1193ee375b46cfd8afaccb89f7.patch)
+sha256sums=('SKIP'
+ 'd611a1dedd6b86eed552247bf13ee06343b14adfa863b9edc52039441b18120d')
pkgver() {
cd libopencm3
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
+prepare() {
+ cd libopencm3
+ patch -p1 -R < ../remove_install.patch
+}
+
build() {
cd libopencm3
- make lib
+ make
}
package() {