diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-02 18:53:10 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-02 18:53:10 +0100 |
commit | 588ef662386ce30b28688e95f11f7fc7a52f8e25 (patch) | |
tree | a62b104d7b70d82767fbde6aeb782b1359302459 /community/macchanger | |
parent | 9ea487ed90ebf891571ea8fffd34c154cbf981df (diff) | |
parent | b479098a1b8d7cb545339cb225a7cde4988b2748 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/kdesvn/PKGBUILD
community/lwm/PKGBUILD
community/sakura/PKGBUILD
extra/openmpi/PKGBUILD
extra/qt/PKGBUILD
Diffstat (limited to 'community/macchanger')
-rw-r--r-- | community/macchanger/PKGBUILD | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/community/macchanger/PKGBUILD b/community/macchanger/PKGBUILD index 456e3fcea..bb82b6528 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' 'mips64el') 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 } |