archrelease: copy trunk to extra-x86_64
[arch-packages.git] / mobile-broadband-provider-info / trunk / PKGBUILD
blob3a66c458ed69fbb4dc1381c39558f6b40e4fb355
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=mobile-broadband-provider-info
5 pkgver=20230416
6 pkgrel=1
7 pkgdesc="APN configuration presets for mobile broadband connections"
8 url="https://gitlab.gnome.org/GNOME/mobile-broadband-provider-info"
9 arch=(any)
10 license=(custom)
11 makedepends=(git libxslt)
12 _commit=aae7c68671d225e6d35224613d5b98192b9b2ffe  # tags/20230416^0
13 source=("git+https://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git#commit=$_commit")
14 sha256sums=('SKIP')
16 pkgver() {
17   cd $pkgname
18   git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
21 prepare() {
22   cd $pkgname
23   NOCONFIGURE=1 ./autogen.sh
26 check() {
27   cd $pkgname
28   make check
31 build() {
32   cd $pkgname
33   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
34   make
37 package() {
38   cd $pkgname
39   make DESTDIR="$pkgdir" install
40   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
43 # vim:set sw=2 sts=-1 et: