[arch-commits] Commit in macchanger/repos (6 files)

Kyle Keen kkeen at nymeria.archlinux.org
Sat Nov 23 01:20:53 UTC 2013


    Date: Saturday, November 23, 2013 @ 02:20:53
  Author: kkeen
Revision: 101347

archrelease: copy trunk to community-i686, community-x86_64

Added:
  macchanger/repos/community-i686/PKGBUILD
    (from rev 101346, macchanger/trunk/PKGBUILD)
  macchanger/repos/community-i686/macchanger.install
    (from rev 101346, macchanger/trunk/macchanger.install)
  macchanger/repos/community-x86_64/PKGBUILD
    (from rev 101346, macchanger/trunk/PKGBUILD)
  macchanger/repos/community-x86_64/macchanger.install
    (from rev 101346, macchanger/trunk/macchanger.install)
Deleted:
  macchanger/repos/community-i686/PKGBUILD
  macchanger/repos/community-x86_64/PKGBUILD

-------------------------------------+
 /PKGBUILD                           |   58 ++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD             |   27 ---------------
 community-i686/macchanger.install   |   21 ++++++++++++
 community-x86_64/PKGBUILD           |   27 ---------------
 community-x86_64/macchanger.install |   21 ++++++++++++
 5 files changed, 100 insertions(+), 54 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-11-23 01:19:48 UTC (rev 101346)
+++ community-i686/PKGBUILD	2013-11-23 01:20:53 UTC (rev 101347)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=macchanger
-pkgver=1.6.0
-pkgrel=1
-pkgdesc="A small utility to change your 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)
-md5sums=('1257b18e9067a8192c9747da52aabdda')
-
-build() {
-  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
-}

Copied: macchanger/repos/community-i686/PKGBUILD (from rev 101346, macchanger/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-11-23 01:20:53 UTC (rev 101347)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=macchanger
+pkgver=1.6.0
+pkgrel=2
+pkgdesc="A small utility to change your NIC's MAC address"
+arch=('i686' 'x86_64')
+url="http://ftp.gnu.org/gnu/macchanger"
+license=('GPL')
+depends=('glibc')
+install='macchanger.install'
+source=(http://ftp.gnu.org/gnu/macchanger/${pkgname}-${pkgver}.tar.gz)
+md5sums=('1257b18e9067a8192c9747da52aabdda')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./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-i686/macchanger.install (from rev 101346, macchanger/trunk/macchanger.install)
===================================================================
--- community-i686/macchanger.install	                        (rev 0)
+++ community-i686/macchanger.install	2013-11-23 01:20:53 UTC (rev 101347)
@@ -0,0 +1,21 @@
+infodir=/usr/share/info
+filelist=(macchanger.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+    usr/bin/install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    usr/bin/install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-11-23 01:19:48 UTC (rev 101346)
+++ community-x86_64/PKGBUILD	2013-11-23 01:20:53 UTC (rev 101347)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=macchanger
-pkgver=1.6.0
-pkgrel=1
-pkgdesc="A small utility to change your 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)
-md5sums=('1257b18e9067a8192c9747da52aabdda')
-
-build() {
-  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
-}

Copied: macchanger/repos/community-x86_64/PKGBUILD (from rev 101346, macchanger/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-11-23 01:20:53 UTC (rev 101347)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=macchanger
+pkgver=1.6.0
+pkgrel=2
+pkgdesc="A small utility to change your NIC's MAC address"
+arch=('i686' 'x86_64')
+url="http://ftp.gnu.org/gnu/macchanger"
+license=('GPL')
+depends=('glibc')
+install='macchanger.install'
+source=(http://ftp.gnu.org/gnu/macchanger/${pkgname}-${pkgver}.tar.gz)
+md5sums=('1257b18e9067a8192c9747da52aabdda')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./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/macchanger.install (from rev 101346, macchanger/trunk/macchanger.install)
===================================================================
--- community-x86_64/macchanger.install	                        (rev 0)
+++ community-x86_64/macchanger.install	2013-11-23 01:20:53 UTC (rev 101347)
@@ -0,0 +1,21 @@
+infodir=/usr/share/info
+filelist=(macchanger.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+    usr/bin/install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    usr/bin/install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+




More information about the arch-commits mailing list