[arch-commits] Commit in libwlocate/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Thu Jan 21 16:02:48 UTC 2016


    Date: Thursday, January 21, 2016 @ 17:02:48
  Author: arojas
Revision: 158429

New source

Modified:
  libwlocate/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-21 14:51:00 UTC (rev 158428)
+++ PKGBUILD	2016-01-21 16:02:48 UTC (rev 158429)
@@ -4,8 +4,9 @@
 # Contributor: Bjoern Franke <bjo at nord-west.org>
 
 pkgname=libwlocate
-pkgver=0.20150623.ef86579
+pkgver=0.1
 pkgrel=1
+epoch=1
 _gitrev=ef865799942243896a4ace5e5b4dae999769b6ff
 pkgdesc="A shared library that can be used for location-based services"
 arch=(i686 x86_64)
@@ -12,19 +13,19 @@
 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')
+source=("https://github.com/openwifi-su/lwlocate/archive/v$pkgver.tar.gz")
+md5sums=('615649a7379968b46248081a4ec014aa')
 
 build() {
-  cd $pkgname-code-$_gitrev/master
+  cd lwlocate-$pkgver/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"
+  cd lwlocate-$pkgver/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
 }
 



More information about the arch-commits mailing list