[arch-commits] Commit in macchanger/trunk (PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Tue Nov 20 14:15:03 UTC 2018
Date: Tuesday, November 20, 2018 @ 14:15:03
Author: kkeen
Revision: 409160
upgpkg: macchanger 1.7.0-4 FS#59021
Modified:
macchanger/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-20 13:57:05 UTC (rev 409159)
+++ PKGBUILD 2018-11-20 14:15:03 UTC (rev 409160)
@@ -3,7 +3,7 @@
pkgname=macchanger
pkgver=1.7.0
-pkgrel=3
+pkgrel=4
pkgdesc="A small utility to change your NIC's MAC address"
arch=('x86_64')
#url="http://ftp.gnu.org/gnu/macchanger"
@@ -10,9 +10,15 @@
url="http://www.gnu.org/software/macchanger"
license=('GPL')
depends=('glibc')
-source=("https://github.com/alobbs/macchanger/archive/$pkgver.tar.gz")
+source=("$pkgname-$pkgver.tgz::https://github.com/alobbs/macchanger/archive/$pkgver.tar.gz")
md5sums=('ebd3c24360454b2684c39d89dcaabac8')
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # FS#59021
+ sed -i 's|/dev/hwrng|/dev/random|' src/main.c
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./autogen.sh
More information about the arch-commits
mailing list