summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-11 17:14:32 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-17 16:46:40 +0200
commit0fb375cf72f9cabeb04ce1df35939bcab3c6f416 (patch)
tree4652ae066d33a89b2ed95d85b238b509d2caf6bc
parent5f987188300d261b48f91470365ca7fecb04bff5 (diff)
downloadabslibre-0fb375cf72f9cabeb04ce1df35939bcab3c6f416.tar.gz
abslibre-0fb375cf72f9cabeb04ce1df35939bcab3c6f416.tar.bz2
abslibre-0fb375cf72f9cabeb04ce1df35939bcab3c6f416.zip
pcr: Add mobile-broadband-provider-info for armv7h
The 'CUSTOM' license comes from this COPYING file: THIS WORK IS IN PUBLIC DOMAIN: The person or persons who have associated work with this document (the "Dedicator" or "Certifier") hereby either (a) certifies that, to the best of his knowledge, the work of authorship identified is in the public domain of the country from which the work is published, or (b) hereby dedicates whatever copyright the dedicators holds in the work of authorship identified below (the "Work") to the public domain. A certifier, moreover, dedicates any copyright interest he may have in the associated work, and for these purposes, is described as a "dedicator" below. A certifier has taken reasonable steps to verify the copyright status of this work. Certifier recognizes that his good faith efforts may not shield him from liability if in fact the work certified is not in the public domain. Dedicator makes this dedication for the benefit of the public at large and to the detriment of the Dedicator's heirs and successors. Dedicator intends this dedication to be an overt act of relinquishment in perpetuity of all present and future rights under copyright law, whether vested or contingent, in the Work. Dedicator understands that such relinquishment of all rights includes the relinquishment of all rights to enforce (by lawsuit or otherwise) those copyrights in the Work. Dedicator recognizes that, once placed in the public domain, the Work may be freely reproduced, distributed, transmitted, used, modified, built upon, or otherwise exploited by anyone for any purpose, commercial or non-commercial, and in any way, including by methods that have not yet been invented or conceived. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--pcr/mobile-broadband-provider-info/PKGBUILD54
1 files changed, 54 insertions, 0 deletions
diff --git a/pcr/mobile-broadband-provider-info/PKGBUILD b/pcr/mobile-broadband-provider-info/PKGBUILD
new file mode 100644
index 000000000..5047c0578
--- /dev/null
+++ b/pcr/mobile-broadband-provider-info/PKGBUILD
@@ -0,0 +1,54 @@
+# Maintainer (Arch): Jan Alexander Steffens (heftig) <heftig@archlinux.org>
+# Contributor (Arch): Jan de Groot <jgc@archlinux.org>
+# Maintainers: Parabola hackers <dev@lists.parabola.nu>
+
+# This package is in Parabola only for architectures that don't have
+# mobile-broadband-provider-info in their feed. Here is the status of
+# mobile-broadband-provider-info in the various upstream GNU/Linux
+# distributions Parabola is based on:
+# +--------------+----------------+---------------+
+# | Architecture | Upstream | Upstream repo |
+# +--------------+----------------+---------------+
+# | armv7h | Arch Linux ARM | None |
+# | i686 | Arch Linux 32 | community |
+# | x86_64 | Arch Linux | community |
+# +--------------+----------------+---------------+
+
+pkgname=mobile-broadband-provider-info
+pkgver=20220511
+pkgrel=1
+pkgdesc="Network Management daemon"
+url="https://gitlab.gnome.org/GNOME/mobile-broadband-provider-info"
+arch=('armv7h')
+license=(custom)
+makedepends=(git libxslt)
+_commit=3d5c8d0f7e0264768a2c000d0fd4b4d4a991e041 # tags/20220511^0
+source=("git+https://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+check() {
+ cd $pkgname
+ make check
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
+}