summaryrefslogtreecommitdiff
path: root/community/macchanger/PKGBUILD
blob: fbcdea6ab8cf6be716f41b412b0efc10d1556650 (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
28
29
# $Id: PKGBUILD 101347 2013-11-23 01:20:53Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=macchanger
pkgver=1.6.0
pkgrel=2
pkgdesc="A small utility to change your NIC's MAC address"
arch=('i686' 'x86_64' 'mips64el')
url="http://ftp.gnu.org/gnu/macchanger"
license=('GPL')
depends=('glibc')
install='macchanger.install'
source=(http://ftp.gnu.org/gnu/macchanger/${pkgname}-${pkgver}.tar.gz)
md5sums=('1257b18e9067a8192c9747da52aabdda')

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

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

  make DESTDIR="${pkgdir}" install
}