updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / mentohust / PKGBUILD
bloba4b55073c80561e72a3fd3699f99a4b508297e89
1 # Contributor: Shen Miren <dickeny@gmail.com>
2 pkgname=mentohust
3 pkgver=0.3.1
4 pkgrel=2
5 pkgdesc="A Ruijie and Cernet supplicant"
6 arch=('i686' 'x86_64')
7 url="http://mentohust.googlecode.com"
8 license=('GPL')
9 makedepends=('libpcap')
10 optdepends=('libnotify')
11 conflicts=()
12 provides=()
13 backup=('etc/mentohust.conf')
14 install=$pkgname.install
15 source=(http://mentohust.googlecode.com/files/${pkgname}-${pkgver}.tar.gz
16         ${pkgname}_rc.sh)
18 md5sums=('b109ac935ff40740a6e1d2e092c9b503'
19          '52b1286fb644bcc6d9d742cb7da23a24')
21 build() {
22     cd "${srcdir}/${pkgname}-${pkgver}"
23     ./configure --prefix=/usr
24     make || return 1
25     make install DESTDIR="${pkgdir}" || return 1
27     # install rc script
28     install -D -m 755 "${srcdir}/${pkgname}_rc.sh" "${pkgdir}/etc/rc.d/$pkgname"