summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortaylorchu2015-05-24 11:04:47 -0700
committertaylorchu2015-05-24 11:04:47 -0700
commit41a8f883059896ec7f6437d7e50a004a664d9c00 (patch)
tree0c8ccba824f4c380c41a0af4f94f9f4f0a1b2808
downloadaur-41a8f883059896ec7f6437d7e50a004a664d9c00.tar.gz
init
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD40
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d7567a69dec
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+# Generated by srcinfo
+# Sun May 24 18:04:40 UTC 2015
+pkgbase = connman-git
+ pkgdesc = Wireless LAN network manager (git version)
+ pkgver = 1.28.48.gc89ffc1
+ pkgrel = 1
+ url = https://01.org/connman
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ depends = dbus
+ depends = iptables
+ depends = gnutls
+ depends = glib2
+ depends = wpa_supplicant
+ depends = pptpclient
+ provides = connman
+ conflicts = connman
+ source = git://git.kernel.org/pub/scm/network/connman/connman.git
+ md5sums = SKIP
+
+pkgname = connman-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e6f3c35c18b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: tailinchu <use_my_id at gmail dot com>
+
+pkgname=connman-git
+pkgver=1.28.48.gc89ffc1
+pkgrel=1
+pkgdesc="Wireless LAN network manager (git version)"
+arch=('i686' 'x86_64')
+url="https://01.org/connman"
+license=('GPL2')
+depends=('dbus' 'iptables' 'gnutls' 'glib2' 'wpa_supplicant' 'pptpclient')
+makedepends=('git')
+conflicts=('connman')
+provides=('connman')
+source=("git://git.kernel.org/pub/scm/network/connman/connman.git")
+md5sums=('SKIP')
+
+_gitroot="connman"
+
+pkgver () {
+ cd "$srcdir/$_gitroot"
+ git describe --always | sed 's|-|.|g'
+}
+
+build() {
+ cd "$srcdir/$_gitroot"
+ ./bootstrap
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --bindir=/usr/bin \
+ --sbindir=/usr/bin \
+ --with-systemdunitdir=/usr/lib/systemd/system \
+ --enable-pptp \
+ --enable-polkit \
+ --enable-client
+ make
+}
+
+package() {
+ cd "$srcdir/$_gitroot"
+ make DESTDIR="$pkgdir" install
+}