[arch-commits] Commit in libopencm3/repos/community-any (4 files)
Filipe Laíns
ffy00 at archlinux.org
Sat Dec 14 20:37:29 UTC 2019
Date: Saturday, December 14, 2019 @ 20:37:29
Author: ffy00
Revision: 537706
archrelease: copy trunk to community-any
Added:
libopencm3/repos/community-any/0001-Revert-Drop-install-target-and-documentation.patch
(from rev 537705, libopencm3/trunk/0001-Revert-Drop-install-target-and-documentation.patch)
libopencm3/repos/community-any/PKGBUILD
(from rev 537705, libopencm3/trunk/PKGBUILD)
Deleted:
libopencm3/repos/community-any/0001-Revert-Drop-install-target-and-documentation.patch
libopencm3/repos/community-any/PKGBUILD
---------------------------------------------------------+
0001-Revert-Drop-install-target-and-documentation.patch | 94 +++++++-------
PKGBUILD | 83 ++++++------
2 files changed, 89 insertions(+), 88 deletions(-)
Deleted: 0001-Revert-Drop-install-target-and-documentation.patch
===================================================================
--- 0001-Revert-Drop-install-target-and-documentation.patch 2019-12-14 20:37:18 UTC (rev 537705)
+++ 0001-Revert-Drop-install-target-and-documentation.patch 2019-12-14 20:37:29 UTC (rev 537706)
@@ -1,47 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 6929769d..ca06efd7 100644
---- a/Makefile
-+++ b/Makefile
-@@ -23,6 +23,13 @@ PREFIX ?= arm-none-eabi
- STYLECHECK := scripts/checkpatch.pl
- STYLECHECKFLAGS := --no-tree -f --terse --mailback
-
-+DESTDIR ?= /usr/local
-+
-+INCDIR := $(DESTDIR)/$(PREFIX)/include
-+LIBDIR := $(DESTDIR)/$(PREFIX)/lib
-+SHAREDIR := $(DESTDIR)/$(PREFIX)/share/libopencm3/scripts
-+INSTALL := install
-+
- space:=
- space+=
- SRCLIBDIR:= $(subst $(space),\$(space),$(realpath lib))
-@@ -70,6 +77,22 @@ $(LIB_DIRS): $(IRQ_DEFN_FILES:=.genhdr)
- lib: $(LIB_DIRS)
- $(Q)true
-
-+install: lib
-+ @printf " INSTALL headers\n"
-+ $(Q)$(INSTALL) -d $(INCDIR)/libopencm3
-+ $(Q)$(INSTALL) -d $(INCDIR)/libopencmsis
-+ $(Q)$(INSTALL) -d $(LIBDIR)
-+ $(Q)$(INSTALL) -d $(SHAREDIR)
-+ $(Q)cp -r include/libopencm3/* $(INCDIR)/libopencm3
-+ $(Q)cp -r include/libopencmsis/* $(INCDIR)/libopencmsis
-+ @printf " INSTALL libs\n"
-+ $(Q)$(INSTALL) -m 0644 lib/*.a $(LIBDIR)
-+ @printf " INSTALL ldscripts\n"
-+ $(Q)$(INSTALL) -m 0644 lib/*.ld $(LIBDIR)
-+ $(Q)$(INSTALL) -m 0644 lib/*/*.ld $(LIBDIR)
-+ $(Q)$(INSTALL) -m 0644 lib/*/*/*.ld $(LIBDIR)
-+
-+
- html doc:
- $(Q)$(MAKE) -C doc html
-
-@@ -114,4 +137,4 @@ genlinktests.clean:
- fi;
-
-
--.PHONY: build lib $(LIB_DIRS) doc clean generatedheaders cleanheaders stylecheck genlinktests genlinktests.clean
-+.PHONY: build lib $(LIB_DIRS) install doc clean generatedheaders cleanheaders stylecheck genlinktests genlinktests.clean
Copied: libopencm3/repos/community-any/0001-Revert-Drop-install-target-and-documentation.patch (from rev 537705, libopencm3/trunk/0001-Revert-Drop-install-target-and-documentation.patch)
===================================================================
--- 0001-Revert-Drop-install-target-and-documentation.patch (rev 0)
+++ 0001-Revert-Drop-install-target-and-documentation.patch 2019-12-14 20:37:29 UTC (rev 537706)
@@ -0,0 +1,47 @@
+diff --git a/Makefile b/Makefile
+index 6929769d..ca06efd7 100644
+--- a/Makefile
++++ b/Makefile
+@@ -23,6 +23,13 @@ PREFIX ?= arm-none-eabi
+ STYLECHECK := scripts/checkpatch.pl
+ STYLECHECKFLAGS := --no-tree -f --terse --mailback
+
++DESTDIR ?= /usr/local
++
++INCDIR := $(DESTDIR)/$(PREFIX)/include
++LIBDIR := $(DESTDIR)/$(PREFIX)/lib
++SHAREDIR := $(DESTDIR)/$(PREFIX)/share/libopencm3/scripts
++INSTALL := install
++
+ space:=
+ space+=
+ SRCLIBDIR:= $(subst $(space),\$(space),$(realpath lib))
+@@ -70,6 +77,22 @@ $(LIB_DIRS): $(IRQ_DEFN_FILES:=.genhdr)
+ lib: $(LIB_DIRS)
+ $(Q)true
+
++install: lib
++ @printf " INSTALL headers\n"
++ $(Q)$(INSTALL) -d $(INCDIR)/libopencm3
++ $(Q)$(INSTALL) -d $(INCDIR)/libopencmsis
++ $(Q)$(INSTALL) -d $(LIBDIR)
++ $(Q)$(INSTALL) -d $(SHAREDIR)
++ $(Q)cp -r include/libopencm3/* $(INCDIR)/libopencm3
++ $(Q)cp -r include/libopencmsis/* $(INCDIR)/libopencmsis
++ @printf " INSTALL libs\n"
++ $(Q)$(INSTALL) -m 0644 lib/*.a $(LIBDIR)
++ @printf " INSTALL ldscripts\n"
++ $(Q)$(INSTALL) -m 0644 lib/*.ld $(LIBDIR)
++ $(Q)$(INSTALL) -m 0644 lib/*/*.ld $(LIBDIR)
++ $(Q)$(INSTALL) -m 0644 lib/*/*/*.ld $(LIBDIR)
++
++
+ html doc:
+ $(Q)$(MAKE) -C doc html
+
+@@ -114,4 +137,4 @@ genlinktests.clean:
+ fi;
+
+
+-.PHONY: build lib $(LIB_DIRS) doc clean generatedheaders cleanheaders stylecheck genlinktests genlinktests.clean
++.PHONY: build lib $(LIB_DIRS) install doc clean generatedheaders cleanheaders stylecheck genlinktests genlinktests.clean
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-14 20:37:18 UTC (rev 537705)
+++ PKGBUILD 2019-12-14 20:37:29 UTC (rev 537706)
@@ -1,41 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgname=libopencm3
-_commit=38b45c87861e5461283609f3aa2df31b141faae6
-pkgver=r2548.38b45c87
-pkgrel=1
-pkgdesc='Open Source firmware library for various ARM Cortex microcontrollers'
-arch=('any')
-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#commit=$_commit"
- '0001-Revert-Drop-install-target-and-documentation.patch')
-sha512sums=('SKIP'
- '80780290b3de985cee7c950317aa6a2f7d2d920f6520a8b0d2af0df5623be01ccd0d883ac3dc52ae711c4049208906643ec9b391b2e0294fe4d3650fca343c77')
-
-pkgver() {
- cd $pkgname
-
- printf 'r%s.%s' $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
-}
-
-prepare() {
- cd $pkgname
-
- patch -p1 < ../0001-Revert-Drop-install-target-and-documentation.patch
-}
-
-build() {
- cd $pkgname
-
- make
-}
-
-package() {
- cd $pkgname
-
- make DESTDIR="$pkgdir" PREFIX=/usr/arm-none-eabi install
-}
-
Copied: libopencm3/repos/community-any/PKGBUILD (from rev 537705, libopencm3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-12-14 20:37:29 UTC (rev 537706)
@@ -0,0 +1,42 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=libopencm3
+_commit=38b45c87861e5461283609f3aa2df31b141faae6
+pkgver=r2548.38b45c87
+pkgrel=2
+pkgdesc='Open Source firmware library for various ARM Cortex microcontrollers'
+arch=('any')
+url='http://www.libopencm3.org'
+license=('GPL')
+depends=('arm-none-eabi-newlib')
+makedepends=('git' 'arm-none-eabi-gcc' 'python-yaml')
+options=(!strip staticlibs !buildflags)
+source=("git://github.com/libopencm3/libopencm3.git#commit=$_commit"
+ '0001-Revert-Drop-install-target-and-documentation.patch')
+sha512sums=('SKIP'
+ '80780290b3de985cee7c950317aa6a2f7d2d920f6520a8b0d2af0df5623be01ccd0d883ac3dc52ae711c4049208906643ec9b391b2e0294fe4d3650fca343c77')
+
+pkgver() {
+ cd $pkgname
+
+ printf 'r%s.%s' $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
+}
+
+prepare() {
+ cd $pkgname
+
+ patch -p1 < ../0001-Revert-Drop-install-target-and-documentation.patch
+}
+
+build() {
+ cd $pkgname
+
+ make
+}
+
+package() {
+ cd $pkgname
+
+ make DESTDIR="$pkgdir" PREFIX=/usr/arm-none-eabi install
+}
+
More information about the arch-commits
mailing list