desktop/libwlocate/PKGBUILD

31 lines
917 B
Bash

# $Id$
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: sekret, mail=$(echo c2VrcmV0QHBvc3Rlby5zZQo= | base64 -d)
# Contributor: Bjoern Franke <bjo@nord-west.org>
pkgname=libwlocate
pkgver=0.20150623.ef86579
pkgrel=1
_gitrev=ef865799942243896a4ace5e5b4dae999769b6ff
pkgdesc="A shared library that can be used for location-based services"
arch=(x86_64)
url="http://sourceforge.net/projects/libwlocate"
license=(GPL)
depends=(wireless_tools glibc)
source=("http://sourceforge.net/code-snapshots/git/l/li/libwlocate/code.git/$pkgname-code-$_gitrev.zip")
md5sums=('8b9505abb96daae394b62f608b1c3fd9')
build() {
cd $pkgname-code-$_gitrev/master
make -f Makelib
make
}
package() {
cd $pkgname-code-$_gitrev/master
install -Dm644 libwlocate.so "$pkgdir/usr/lib/libwlocate.so"
install -Dm644 libwlocate.h "$pkgdir/usr/include/libwlocate.h"
install -Dm755 lwtrace "$pkgdir/usr/bin/lwtrace"
}