updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / spooftooph / PKGBUILD
blob3276887caee59c0e38258fbddbd331282342a699
1 # Contributer: fnord0 <fnord0 AT riseup DOT net>
2 pkgname=spooftooph
3 pkgver=0.1
4 pkgrel=1
5 pkgdesc="Designed to automate spoofing or cloning Bluetooth device Name, Class, and Address. Cloning this information effectively allows Bluetooth device to hide in plain site."
6 arch=('i686' 'x86_64')
7 url="http://www.hackfromacave.com/projects/spooftooph.html"
8 license=('GPL')
9 depends=('bluez' 'ncurses')
10 source=(http://downloads.sourceforge.net/spooftooph/$pkgname-$pkgver.tar.gz)
11 md5sums=('5937c429eda3d329c62d8d0224ca8bf2')
12 sha1sums=('9f69d69605939d32d43496cefe097b49d274ab0a')
14 build() {
15                 cd ${srcdir}/${pkgname}
16                 make || return 1
17                 install -d ${pkgdir}/usr/bin || return 1
18                 install -d ${pkgdir}/usr/share/${pkgname}/doc || return 1
19                 install -Dm755 ${srcdir}/${pkgname}/${pkgname} ${pkgdir}/usr/share/${pkgname}/${pkgname} || return 1
20                 ln -sf /usr/share/${pkgname}/${pkgname} ${pkgdir}/usr/bin/${pkgname}
21                 for doc in CHANGELOG.txt README.txt; do
22                         install -Dm644 ${doc} ${pkgdir}/usr/share/${pkgname}/doc/${doc} || return 1
23                 done