From 0fb375cf72f9cabeb04ce1df35939bcab3c6f416 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Wed, 11 May 2022 17:14:32 +0200 Subject: 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 --- pcr/mobile-broadband-provider-info/PKGBUILD | 54 +++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 pcr/mobile-broadband-provider-info/PKGBUILD (limited to 'pcr') 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) +# Contributor (Arch): Jan de Groot +# Maintainers: Parabola hackers + +# 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 +} -- cgit v1.2.3