summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Mattern2016-05-05 00:19:27 +0200
committerPeter Mattern2016-05-05 00:19:27 +0200
commit5927166c6f603ea9b6b6e63848175a4b31e2ae68 (patch)
tree6fad4fbc997124945d3bc5665178ff842fa8fb96
downloadaur-5927166c6f603ea9b6b6e63848175a4b31e2ae68.tar.gz
Initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD33
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..291f156fa55
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by mksrcinfo v8
+# Wed May 4 22:19:11 UTC 2016
+pkgbase = nm-tray-git
+ pkgdesc = Pure Qt NetworkManager front-end residing in panels
+ pkgver = r27.3f80ec0
+ pkgrel = 1
+ url = https://github.com/palinek/nm-tray
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = cmake
+ makedepends = qt5-tools
+ depends = networkmanager-qt
+ provides = nm-tray
+ conflicts = nm-tray
+ source = git+https://github.com/palinek/nm-tray.git
+ sha256sums = SKIP
+
+pkgname = nm-tray-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1ed098cbcf6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Peter Mattern <pmattern at arcor dot de>
+
+_pkgname=nm-tray
+pkgname=$_pkgname-git
+pkgver=r27.3f80ec0
+pkgrel=1
+pkgdesc='Pure Qt NetworkManager front-end residing in panels'
+arch=('i686' 'x86_64')
+url='https://github.com/palinek/nm-tray'
+license=('GPL')
+depends=('networkmanager-qt')
+makedepends=('git' 'cmake' 'qt5-tools')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+source=("git+https://github.com/palinek/nm-tray.git")
+sha256sums=("SKIP")
+
+pkgver() {
+ cd $_pkgname
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ mkdir -p build
+ cd build
+ cmake $srcdir/$_pkgname -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}