summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Barroso2015-06-15 21:58:35 +0200
committerJorge Barroso2015-06-15 21:58:35 +0200
commit3e9f1477b61f9ea7fb4e17b9bdfffe5d6ea6945c (patch)
treedd3cbf5c941cfb3b93b8e9448abf4cbb0c0a9f9a
downloadaur-qkismet-svn.tar.gz
Initial import
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD39
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2342ddb78d1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = qkismet-svn
+ pkgdesc = A graphical Kismet client writtent in Qt
+ pkgver = 60
+ pkgrel = 2
+ url = http://qkismet.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = subversion
+ depends = qt4
+
+pkgname = qkismet-svn
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8aba37ac0fb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+#! /bin/bash
+# Maintainer: Jorge Barroso <jorge.barroso.11 at gmail dot com>
+# Contributor: Federico Quagliata <linux@quaqo.org>
+
+pkgname=qkismet-svn
+pkgver=60
+pkgrel=2
+pkgdesc="A graphical Kismet client writtent in Qt"
+arch=('i686' 'x86_64')
+url="http://qkismet.sourceforge.net/"
+license=('GPL2')
+depends=('qt4')
+makedepends=('subversion')
+
+_svntrunk=https://qkismet.svn.sourceforge.net/svnroot/qkismet/trunk
+_svnmod=qkismet
+
+build() {
+ cd $srcdir
+
+ if [ -d $_svnmod/.svn ]; then
+ (cd $_svnmod && svn up -r $pkgver)
+ else
+ svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
+ fi
+
+ msg "SVN checkout done or server timeout"
+ msg "Starting make..."
+
+ cp -r $_svnmod $_svnmod-build
+ cd $_svnmod-build/src
+
+ qmake-qt4
+
+ make release
+
+ mkdir -p $pkgdir/usr/bin/
+ mv ../build/release/qkismet $pkgdir/usr/bin/
+} \ No newline at end of file