summaryrefslogtreecommitdiff
path: root/community/macchanger/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-01 03:21:19 +0000
committerroot <root@rshg054.dnsready.net>2012-03-01 03:21:19 +0000
commit6f297b1cf462a11227d811a87124006c55911d63 (patch)
tree325073cc18485496bf07d32e56edf643f3b7a2bf /community/macchanger/PKGBUILD
parent32b05a621cb20af1bd4b7cd6f5609b7512bb20f1 (diff)
Thu Mar 1 03:21:19 UTC 2012
Diffstat (limited to 'community/macchanger/PKGBUILD')
-rw-r--r--community/macchanger/PKGBUILD23
1 files changed, 16 insertions, 7 deletions
diff --git a/community/macchanger/PKGBUILD b/community/macchanger/PKGBUILD
index 2b270ddd8..2ba309655 100644
--- a/community/macchanger/PKGBUILD
+++ b/community/macchanger/PKGBUILD
@@ -1,18 +1,27 @@
-# $Id: PKGBUILD 7199 2010-01-03 07:55:05Z dgriffiths $
+# $Id: PKGBUILD 66755 2012-02-28 08:12:38Z giovanni $
+# Maintainer: Kyle Keen <keenerd@gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=macchanger
pkgver=1.5.0
-pkgrel=3
+pkgrel=4
pkgdesc="A small utility to change you NIC's MAC address"
arch=('i686' 'x86_64')
url="http://ftp.gnu.org/gnu/macchanger"
license=('GPL')
-source=(http://ftp.gnu.org/gnu/macchanger/$pkgname-$pkgver.tar.gz)
+source=(http://ftp.gnu.org/gnu/macchanger/${pkgname}-${pkgver}.tar.gz)
md5sums=('79b7cdaeca3d8ebafa764c4b0dd03ab7')
build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/man
- make || return 1
- make DESTDIR=$startdir/pkg install || return 1
+ 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
}