PKGBUILDs/aur/wavemon/PKGBUILD
Kevin Mihelich a25b33312a aur updates
2014-02-11 01:08:17 +00:00

33 lines
826 B
Bash

# Maintainer: Beej Jorgensen <beej@beej.us>
pkgname=wavemon
pkgver=0.7.6
pkgrel=1
pkgdesc="Ncurses-based monitoring application for wireless network devices"
arch=('i686' 'x86_64')
url="http://eden-feed.erg.abdn.ac.uk/wavemon/"
license=('GPL')
depends=('ncurses' 'libcap')
source=("http://eden-feed.erg.abdn.ac.uk/wavemon/stable-releases/${pkgname}-${pkgver}.tar.bz2")
md5sums=('c60e25feb8b1785cf14371556f0613f4')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --mandir=/usr/share/man
}
build() {
cd "$srcdir/$pkgname-$pkgver"
# This hackery is because the Makefile expects pthread to be in the
# CFLAGS. Is there a bettery way to do this?
CFLAGS="$CFLAGS -O2 -Wall -pthread" make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR=${pkgdir} install
}
# vim:set ts=2 sw=2 et: