[arch-commits] Commit in macchanger/repos/community-x86_64 (PKGBUILD PKGBUILD)

Kyle Keen kkeen at archlinux.org
Tue Nov 20 14:15:33 UTC 2018


    Date: Tuesday, November 20, 2018 @ 14:15:32
  Author: kkeen
Revision: 409161

archrelease: copy trunk to community-x86_64

Added:
  macchanger/repos/community-x86_64/PKGBUILD
    (from rev 409160, macchanger/trunk/PKGBUILD)
Deleted:
  macchanger/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   64 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 35 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-20 14:15:03 UTC (rev 409160)
+++ PKGBUILD	2018-11-20 14:15:32 UTC (rev 409161)
@@ -1,29 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=macchanger
-pkgver=1.7.0
-pkgrel=3
-pkgdesc="A small utility to change your NIC's MAC address"
-arch=('x86_64')
-#url="http://ftp.gnu.org/gnu/macchanger"
-url="http://www.gnu.org/software/macchanger"
-license=('GPL')
-depends=('glibc')
-source=("https://github.com/alobbs/macchanger/archive/$pkgver.tar.gz")
-md5sums=('ebd3c24360454b2684c39d89dcaabac8')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./autogen.sh
-  ./configure --prefix=/usr \
-              --mandir=/usr/share/man \
-              --infodir=/usr/share/info
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  make DESTDIR="${pkgdir}" install
-}

Copied: macchanger/repos/community-x86_64/PKGBUILD (from rev 409160, macchanger/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-20 14:15:32 UTC (rev 409161)
@@ -0,0 +1,35 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=macchanger
+pkgver=1.7.0
+pkgrel=4
+pkgdesc="A small utility to change your NIC's MAC address"
+arch=('x86_64')
+#url="http://ftp.gnu.org/gnu/macchanger"
+url="http://www.gnu.org/software/macchanger"
+license=('GPL')
+depends=('glibc')
+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
+  ./configure --prefix=/usr \
+              --mandir=/usr/share/man \
+              --infodir=/usr/share/info
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+}


More information about the arch-commits mailing list