1 # Maintainer: Kyle Keen <keenerd@gmail.com>
2 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
7 pkgdesc="A small utility to change your NIC's MAC address"
9 #url="https://ftp.gnu.org/gnu/macchanger"
10 url="https://www.gnu.org/software/macchanger"
13 source=("$pkgname-$pkgver.tgz::https://github.com/alobbs/macchanger/archive/$pkgver.tar.gz")
14 md5sums=('ebd3c24360454b2684c39d89dcaabac8')
15 sha256sums=('1d75c07a626321e07b48a5fe2dbefbdb98c3038bb8230923ba8d32bda5726e4f')
16 b2sums=('5dcd174152e77d342a49ac8d9aaa7bc4d8e0e940ddd0f78c0b4b5e8634b424a4e163d1d568238d169b3f962a9a7bc5e8a7caf4df3d1a949ae3aec75b715f696a')
19 cd "${srcdir}/${pkgname}-${pkgver}"
21 sed -i 's|/dev/hwrng|/dev/random|' src/main.c
25 cd "${srcdir}/${pkgname}-${pkgver}"
27 ./configure --prefix=/usr \
28 --mandir=/usr/share/man \
29 --infodir=/usr/share/info
34 cd "${srcdir}/${pkgname}-${pkgver}"
36 make DESTDIR="${pkgdir}" install