diff options
author | Eden Tyler-Moss | 2019-11-14 23:07:58 +0000 |
---|---|---|
committer | Eden Tyler-Moss | 2019-11-14 23:07:58 +0000 |
commit | fec587a4b68753a3dd4e7fb2d07ab7654ab8e644 (patch) | |
tree | 04c16cf1da7601e4e6afa14cf71ea59573f97f3f | |
download | aur-fec587a4b68753a3dd4e7fb2d07ab7654ab8e644.tar.gz |
Initial commit.
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rw-r--r-- | connman-gtk.install | 13 |
3 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c543d4323456 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = connman-gtk + pkgdesc = Tray menu and GUI for ConnMan, with Bluetooth patched out. + pkgver = 1.1.1 + pkgrel = 2 + url = https://github.com/ajmar/connman-gtk-nobluetooth + arch = x86_64 + license = GPL2 + makedepends = intltool + makedepends = git + makedepends = meson + makedepends = openconnect + depends = glib2 + depends = gtk3 + optdepends = openconnect: Easier authentication to AnyConnect VPNs + provides = connman-gtk + source = git+https://github.com/ajmar/connman-gtk-nobluetooth.git#commit=aad93f7089b50c92d6b200de91106229a27fdfc7 + sha256sums = SKIP + +pkgname = connman-gtk-nobluetooth + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a0e21a2472a1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Based on the files created for Arch Linux by: +# American_Jesus <american.jesus.pt AT gmail DOT com> +# Gregory Petrosyan <gregory.mkv at gmail.com> + +pkgname=connman-gtk-nobluetooth +pkgver=1.1.1 +pkgrel=2 +pkgdesc="Tray menu and GUI for ConnMan, with Bluetooth patched out." +arch=('x86_64') +url="https://github.com/jgke/connman-gtk-nobluetooth" +license=('GPL2') +depends=('glib2' 'gtk3') +makedepends=('intltool' 'git' 'meson' 'openconnect') +optdepends=('openconnect: Easier authentication to AnyConnect VPNs') +provides=('connman-gtk') +_commit=aad93f7089b50c92d6b200de91106229a27fdfc7 +source=("git+https://github.com/ajmar/connman-gtk-nobluetooth.git#commit=$_commit") +sha256sums=('SKIP') + +build() { + mkdir build + meson --prefix /usr --buildtype=plain -Duse_openconnect=dynamic "${srcdir}/${pkgname}" build + ninja -C build +} + +package() { + DESTDIR="${pkgdir}" ninja -C build install +} + diff --git a/connman-gtk.install b/connman-gtk.install new file mode 100644 index 000000000000..bf6781f93005 --- /dev/null +++ b/connman-gtk.install @@ -0,0 +1,13 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |