[arch-commits] Commit in libopencm3/repos/community-any (4 files)
Anatol Pomozov
anatolik at gemini.archlinux.org
Sun Aug 21 01:23:54 UTC 2022
Date: Sunday, August 21, 2022 @ 01:23:53
Author: anatolik
Revision: 1271497
archrelease: copy trunk to community-any
Added:
libopencm3/repos/community-any/0001-Revert-Drop-install-target-and-documentation.patch
(from rev 1271496, libopencm3/trunk/0001-Revert-Drop-install-target-and-documentation.patch)
libopencm3/repos/community-any/PKGBUILD
(from rev 1271496, 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 | 106 +++++++-------
PKGBUILD | 84 +++++------
2 files changed, 95 insertions(+), 95 deletions(-)
Deleted: 0001-Revert-Drop-install-target-and-documentation.patch
===================================================================
--- 0001-Revert-Drop-install-target-and-documentation.patch 2022-08-21 01:23:29 UTC (rev 1271496)
+++ 0001-Revert-Drop-install-target-and-documentation.patch 2022-08-21 01:23:53 UTC (rev 1271497)
@@ -1,53 +0,0 @@
-commit 33f456aad9313bfc42e5ae7ef47e7976b0572a71
-Author: Anatol Pomozov <anatol.pomozov at gmail.com>
-Date: Sun Jan 10 18:58:44 2016 -0800
-
- Revert "Drop "install" target and documentation."
-
- This reverts commit 7c1cd2e5cd3f3d1193ee375b46cfd8afaccb89f7.
-
-diff --git a/Makefile b/Makefile
-index 20f878fa..97f63933 100644
---- a/Makefile
-+++ b/Makefile
-@@ -22,6 +22,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
-+
- TARGETS ?= stm32/f0 stm32/f1 stm32/f2 stm32/f3 stm32/f4 stm32/f7 \
- stm32/l0 stm32/l1 stm32/l4 \
- stm32/g0 stm32/g4 \
-@@ -80,6 +87,20 @@ lib: $(LIB_DIRS)
- done;
- $(Q)[ -f .stamp_failure_tld ] && cat .stamp_failure_tld && exit 1 || 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)
-+
-+
- html doc:
- $(Q)$(MAKE) -C doc html TARGETS="$(TARGETS)"
-
-@@ -125,4 +146,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 1271496, 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 2022-08-21 01:23:53 UTC (rev 1271497)
@@ -0,0 +1,53 @@
+commit e0edbe707d3941e22114b8d770117bb585b54437
+Author: Anatol Pomozov <anatol.pomozov at gmail.com>
+Date: Sun Jan 10 18:58:44 2016 -0800
+
+ Revert "Drop "install" target and documentation."
+
+ This reverts commit 7c1cd2e5cd3f3d1193ee375b46cfd8afaccb89f7.
+
+diff --git a/Makefile b/Makefile
+index 6de524a6..4f37dcc7 100644
+--- a/Makefile
++++ b/Makefile
+@@ -22,6 +22,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
++
+ TARGETS ?= stm32/f0 stm32/f1 stm32/f2 stm32/f3 stm32/f4 stm32/f7 \
+ stm32/l0 stm32/l1 stm32/l4 \
+ stm32/g0 stm32/g4 \
+@@ -81,6 +88,20 @@ lib: $(LIB_DIRS)
+ done;
+ $(Q)[ -f .stamp_failure_tld ] && cat .stamp_failure_tld && exit 1 || 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)
++
++
+ html doc:
+ $(Q)$(MAKE) -C doc html TARGETS="$(TARGETS)"
+
+@@ -128,4 +149,4 @@ genlinktests.clean:
+ list-targets:
+ @echo $(TARGETS)
+
+-.PHONY: build lib $(LIB_DIRS) doc clean generatedheaders cleanheaders stylecheck genlinktests genlinktests.clean list-targets
++.PHONY: build lib $(LIB_DIRS) install doc clean generatedheaders cleanheaders stylecheck genlinktests genlinktests.clean list-targets
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-21 01:23:29 UTC (rev 1271496)
+++ PKGBUILD 2022-08-21 01:23:53 UTC (rev 1271497)
@@ -1,42 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgname=libopencm3
-_commit=470a1394a838fe308d886f6880b7054bab4aa5eb
-pkgver=r2768.470a1394
-pkgrel=1
-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'
- '90454277085d38657730970f8cefbd0e9f166486313824e74a144b69917b952dcca5a949699402d90391e4ebeecc6593e644ef3f4088a87999ec2d60840a219e')
-
-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 1271496, libopencm3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-21 01:23:53 UTC (rev 1271497)
@@ -0,0 +1,42 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=libopencm3
+_commit=44e142d4f97863e669737707a1a22bf40ed49bbc
+pkgver=r2815.44e142d4
+pkgrel=1
+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+https://github.com/libopencm3/libopencm3.git#commit=$_commit"
+ '0001-Revert-Drop-install-target-and-documentation.patch')
+sha512sums=('SKIP'
+ '743ea321311d391473581c9a8d8120c50132de05f2055b3addb014244584711ef289521409898f8f5832c36f30f1fc3721703971ffc6dc2343af5abb3c9f71e4')
+
+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