updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / nmapsi4 / PKGBUILD
blob8ec786bfb9bc53ce3ca537041d0f7c969a3ff0de
1 # Maintainer: Jekyll Wu <adaptee [at] gmail [dot] com>
3 pkgname=nmapsi4
4 pkgver=0.3
5 pkgrel=1
6 pkgdesc="Qt-based GUI for nmap."
7 arch=('i686' 'x86_64')
8 url="http://www.nmapsi4.org/"
9 license=('GPL2')
10 depends=('qt' 'nmap')
11 makedepends=('cmake')
12 source=(http://nmapsi4.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
14 build() {
15     cd "${srcdir}/${pkgname}-${pkgver}"
17     if [ -d build ] ; then
18         rm build/* -rf
19     else
20         mkdir build
21     fi
23     cd build
25     cmake -DCMAKE_INSTALL_PREFIX=/usr ../
26     make
29 package() {
30     cd "${srcdir}/${pkgname}-${pkgver}/build"
31     make DESTDIR=${pkgdir} install
33     # Change permissions to enable the excutables
34     chmod 755 ${pkgdir}/usr/bin/*
36 md5sums=('2be404095cb4dc0230ac609c3757e6a6')