core/mobile-broadband-provider-info/PKGBUILD

42 lines
909 B
Bash
Raw Normal View History

# Contributions from ArchLinux: https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/mobile-broadband-provider-info
2010-11-28 20:17:53 +08:00
pkgname=mobile-broadband-provider-info
pkgver=20170310
2010-11-28 20:17:53 +08:00
pkgrel=1
pkgdesc="Network Management daemon"
arch=(any)
license=(custom)
url="https://git.gnome.org/browse/mobile-broadband-provider-info"
makedepends=(git)
checkdepends=(libxml2)
_commit=befcbbc9867e742ac16415660b0b7521218a530c # tags/20170310^0
source=("git+https://git.gnome.org/browse/mobile-broadband-provider-info#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
NOCONFIGURE=1 ./autogen.sh
}
check() {
cd $pkgname
make check
}
2010-11-28 20:17:53 +08:00
build() {
cd $pkgname
2011-07-20 23:02:15 +08:00
./configure --prefix=/usr
make
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}