[arch-commits] Commit in libwlocate/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:00:28 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:00:28
  Author: felixonmars
Revision: 658318

archrelease: copy trunk to community-staging-x86_64

Added:
  libwlocate/repos/community-staging-x86_64/
  libwlocate/repos/community-staging-x86_64/PKGBUILD
    (from rev 658316, libwlocate/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: libwlocate/repos/community-staging-x86_64/PKGBUILD (from rev 658316, libwlocate/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:00:28 UTC (rev 658318)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: sekret, mail=$(echo c2VrcmV0QHBvc3Rlby5zZQo= | base64 -d)
+# Contributor: Bjoern Franke <bjo at nord-west.org>
+
+pkgname=libwlocate
+pkgver=0.1
+pkgrel=3
+epoch=1
+pkgdesc="A shared library that can be used for location-based services"
+arch=(x86_64)
+url="https://sourceforge.net/projects/libwlocate"
+license=(GPL)
+depends=(wireless_tools glibc)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/openwifi-su/lwlocate/archive/v$pkgver.tar.gz")
+sha256sums=('791899f4890fa88553b4e8417376187d7d533ead962f5fe51f598b6ed9a2c258')
+
+build() {
+  cd lwlocate-$pkgver/master
+  make -f Makelib
+  make
+}
+
+package() {
+  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