summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJorge Barroso2015-06-15 21:58:35 +0200
committerJorge Barroso2015-06-15 21:58:35 +0200
commit3e9f1477b61f9ea7fb4e17b9bdfffe5d6ea6945c (patch)
treedd3cbf5c941cfb3b93b8e9448abf4cbb0c0a9f9a /PKGBUILD
downloadaur-qkismet-svn.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD39
1 files changed, 39 insertions, 0 deletions
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