summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 502b305d464b80a193ba01dcbec57bd25415a75f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Dr-Noob <peibolms at gmail dot com>
_name=snetscan
pkgname="$_name-git"
pkgver=0.1
pkgrel=1
pkgdesc="Command line network scanner"
arch=('x86_64')
url="https://github.com/Dr-Noob/snetscan"
license=('MIT')
depends=('libnet' 'libpcap')
makedepends=('git' 'wget')
source=("git+https://github.com/Dr-Noob/snetscan")
md5sums=('SKIP')

build() {
	cd "$srcdir/$_name"
	make
}

package() {
	cd "$srcdir/$_name"
	install -Dm755 "snetscan"   "$pkgdir/usr/bin/snetscan"
        install -dm755              "$pkgdir/usr/share/snetscan"
        install -Dm644 "macdb.csv"  "$pkgdir/usr/share/snetscan"
        install -Dm644 "LICENSE"    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
        install -Dm644 "snetscan.8" "$pkgdir/usr/share/man/man8/snetscan.8.gz"
}