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

Jelle van der Waa jelle at nymeria.archlinux.org
Mon May 20 10:24:49 UTC 2013


    Date: Monday, May 20, 2013 @ 12:24:49
  Author: jelle
Revision: 91156

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

Added:
  bonnie++/repos/community-i686/PKGBUILD
    (from rev 91155, bonnie++/trunk/PKGBUILD)
  bonnie++/repos/community-i686/move_away_from_sbin.patch
    (from rev 91155, bonnie++/trunk/move_away_from_sbin.patch)
  bonnie++/repos/community-x86_64/PKGBUILD
    (from rev 91155, bonnie++/trunk/PKGBUILD)
  bonnie++/repos/community-x86_64/move_away_from_sbin.patch
    (from rev 91155, bonnie++/trunk/move_away_from_sbin.patch)
Deleted:
  bonnie++/repos/community-i686/PKGBUILD
  bonnie++/repos/community-x86_64/PKGBUILD

--------------------------------------------+
 /PKGBUILD                                  |   70 +++++++++++++++++++++++++++
 community-i686/PKGBUILD                    |   32 ------------
 community-i686/move_away_from_sbin.patch   |   14 +++++
 community-x86_64/PKGBUILD                  |   32 ------------
 community-x86_64/move_away_from_sbin.patch |   14 +++++
 5 files changed, 98 insertions(+), 64 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-05-20 10:20:22 UTC (rev 91155)
+++ community-i686/PKGBUILD	2013-05-20 10:24:49 UTC (rev 91156)
@@ -1,32 +0,0 @@
-# Maintainer: jelle van der Waa <jelle at vdwaa.nl>
-# Contributor: eric <eric at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=bonnie++
-pkgver=1.03e
-pkgrel=6
-pkgdesc="Based on the Bonnie hard drive benchmark by Tim Bray"
-arch=('i686' 'x86_64')
-url="http://www.coker.com.au/bonnie++/"
-license=('GPL')
-depends=('perl')
-source=(http://www.coker.com.au/bonnie++/$pkgname-$pkgver.tgz)
-sha256sums=('cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb')
-
-build() {
-  cd $srcdir/${pkgname}-${pkgver}
-
-  ./configure --prefix=/usr
-  sed -i "s:CFLAGS=-O2  -DNDEBUG \$(WFLAGS) \$(MORECFLAGS):CFLAGS=${CFLAGS}:" Makefile
-  make
-}
-
-package() {
-  cd $srcdir/${pkgname}-${pkgver}
-
-  make prefix="${pkgdir}/usr" install
-
-  install -d $pkgdir/usr/share/doc/bonnie++
-  install -Dm644 $srcdir/$pkgname-$pkgver/readme.html $pkgdir/usr/share/doc/bonnie++/readme.html
-}
-

Copied: bonnie++/repos/community-i686/PKGBUILD (from rev 91155, bonnie++/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-05-20 10:24:49 UTC (rev 91156)
@@ -0,0 +1,35 @@
+# Maintainer: jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: eric <eric at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=bonnie++
+pkgver=1.03e
+pkgrel=7
+pkgdesc="Based on the Bonnie hard drive benchmark by Tim Bray"
+arch=('i686' 'x86_64')
+url="http://www.coker.com.au/bonnie++/"
+license=('GPL')
+depends=('perl')
+source=(http://www.coker.com.au/bonnie++/$pkgname-$pkgver.tgz move_away_from_sbin.patch)
+sha256sums=('cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb'
+            'c100df652c26f38c950baaf3fe25a74d51ba830066f9d02d273cbb5fc5660814')
+
+build() {
+  cd $srcdir/${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr 
+  sed -i "s:CFLAGS=-O2  -DNDEBUG \$(WFLAGS) \$(MORECFLAGS):CFLAGS=${CFLAGS}:" Makefile
+  make
+}
+
+package() {
+  cd $srcdir/${pkgname}-${pkgver}
+
+  # https://www.archlinux.org/todo/move-files-to-usrbin-if-possible/
+  patch -Np1 -i $srcdir/move_away_from_sbin.patch
+  make prefix="${pkgdir}/usr" install
+
+  install -d $pkgdir/usr/share/doc/bonnie++
+  install -Dm644 $srcdir/$pkgname-$pkgver/readme.html $pkgdir/usr/share/doc/bonnie++/readme.html
+}
+

Copied: bonnie++/repos/community-i686/move_away_from_sbin.patch (from rev 91155, bonnie++/trunk/move_away_from_sbin.patch)
===================================================================
--- community-i686/move_away_from_sbin.patch	                        (rev 0)
+++ community-i686/move_away_from_sbin.patch	2013-05-20 10:24:49 UTC (rev 91156)
@@ -0,0 +1,14 @@
+diff -aur bonnie++-1.03e/Makefile bonnie++-1.03ef/Makefile
+--- bonnie++-1.03e/Makefile	2013-05-13 08:40:45.122959831 +0000
++++ bonnie++-1.03ef/Makefile	2013-05-13 08:43:20.365248937 +0000
+@@ -33,8 +33,8 @@
+ 	$(CXX) zcav.cpp -o zcav $(ZCAVOBJS) $(LFLAGS)
+ 
+ install-bin: $(EXES)
+-	mkdir -p $(eprefix)/bin $(eprefix)/sbin
+-	${INSTALL} -s $(EXES) $(eprefix)/sbin
++	mkdir -p $(eprefix)/bin 
++	${INSTALL} -s $(EXES) $(eprefix)/bin
+ 	${INSTALL} $(SCRIPTS) $(eprefix)/bin
+ 
+ install: install-bin

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-05-20 10:20:22 UTC (rev 91155)
+++ community-x86_64/PKGBUILD	2013-05-20 10:24:49 UTC (rev 91156)
@@ -1,32 +0,0 @@
-# Maintainer: jelle van der Waa <jelle at vdwaa.nl>
-# Contributor: eric <eric at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=bonnie++
-pkgver=1.03e
-pkgrel=6
-pkgdesc="Based on the Bonnie hard drive benchmark by Tim Bray"
-arch=('i686' 'x86_64')
-url="http://www.coker.com.au/bonnie++/"
-license=('GPL')
-depends=('perl')
-source=(http://www.coker.com.au/bonnie++/$pkgname-$pkgver.tgz)
-sha256sums=('cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb')
-
-build() {
-  cd $srcdir/${pkgname}-${pkgver}
-
-  ./configure --prefix=/usr
-  sed -i "s:CFLAGS=-O2  -DNDEBUG \$(WFLAGS) \$(MORECFLAGS):CFLAGS=${CFLAGS}:" Makefile
-  make
-}
-
-package() {
-  cd $srcdir/${pkgname}-${pkgver}
-
-  make prefix="${pkgdir}/usr" install
-
-  install -d $pkgdir/usr/share/doc/bonnie++
-  install -Dm644 $srcdir/$pkgname-$pkgver/readme.html $pkgdir/usr/share/doc/bonnie++/readme.html
-}
-

Copied: bonnie++/repos/community-x86_64/PKGBUILD (from rev 91155, bonnie++/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-05-20 10:24:49 UTC (rev 91156)
@@ -0,0 +1,35 @@
+# Maintainer: jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: eric <eric at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=bonnie++
+pkgver=1.03e
+pkgrel=7
+pkgdesc="Based on the Bonnie hard drive benchmark by Tim Bray"
+arch=('i686' 'x86_64')
+url="http://www.coker.com.au/bonnie++/"
+license=('GPL')
+depends=('perl')
+source=(http://www.coker.com.au/bonnie++/$pkgname-$pkgver.tgz move_away_from_sbin.patch)
+sha256sums=('cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb'
+            'c100df652c26f38c950baaf3fe25a74d51ba830066f9d02d273cbb5fc5660814')
+
+build() {
+  cd $srcdir/${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr 
+  sed -i "s:CFLAGS=-O2  -DNDEBUG \$(WFLAGS) \$(MORECFLAGS):CFLAGS=${CFLAGS}:" Makefile
+  make
+}
+
+package() {
+  cd $srcdir/${pkgname}-${pkgver}
+
+  # https://www.archlinux.org/todo/move-files-to-usrbin-if-possible/
+  patch -Np1 -i $srcdir/move_away_from_sbin.patch
+  make prefix="${pkgdir}/usr" install
+
+  install -d $pkgdir/usr/share/doc/bonnie++
+  install -Dm644 $srcdir/$pkgname-$pkgver/readme.html $pkgdir/usr/share/doc/bonnie++/readme.html
+}
+

Copied: bonnie++/repos/community-x86_64/move_away_from_sbin.patch (from rev 91155, bonnie++/trunk/move_away_from_sbin.patch)
===================================================================
--- community-x86_64/move_away_from_sbin.patch	                        (rev 0)
+++ community-x86_64/move_away_from_sbin.patch	2013-05-20 10:24:49 UTC (rev 91156)
@@ -0,0 +1,14 @@
+diff -aur bonnie++-1.03e/Makefile bonnie++-1.03ef/Makefile
+--- bonnie++-1.03e/Makefile	2013-05-13 08:40:45.122959831 +0000
++++ bonnie++-1.03ef/Makefile	2013-05-13 08:43:20.365248937 +0000
+@@ -33,8 +33,8 @@
+ 	$(CXX) zcav.cpp -o zcav $(ZCAVOBJS) $(LFLAGS)
+ 
+ install-bin: $(EXES)
+-	mkdir -p $(eprefix)/bin $(eprefix)/sbin
+-	${INSTALL} -s $(EXES) $(eprefix)/sbin
++	mkdir -p $(eprefix)/bin 
++	${INSTALL} -s $(EXES) $(eprefix)/bin
+ 	${INSTALL} $(SCRIPTS) $(eprefix)/bin
+ 
+ install: install-bin




More information about the arch-commits mailing list