summaryrefslogtreecommitdiff
path: root/community/macchanger/PKGBUILD
blob: b1a96f5872df59301be1320ded268da43bb4bf74 (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
# $Id: PKGBUILD 67090 2012-03-03 20:37:59Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=macchanger
pkgver=1.5.0
pkgrel=5
pkgdesc="A small utility to change you NIC's MAC address"
arch=('i686' 'x86_64' 'mips64el')
url="http://ftp.gnu.org/gnu/macchanger"
license=('GPL')
source=(http://ftp.gnu.org/gnu/macchanger/${pkgname}-${pkgver}.tar.gz)
md5sums=('79b7cdaeca3d8ebafa764c4b0dd03ab7')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr \
              --mandir=/usr/share/man \
              --infodir=/usr/share/man
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR=${pkgdir} install
}