Date: Saturday, December 5, 2015 @ 19:41:08
  Author: bpiotrowski
Revision: 148663

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

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

----------------------------------------------------+
 community-staging-i686/PKGBUILD                    |   33 +++++++++++++++++++
 community-staging-i686/move_away_from_sbin.patch   |   14 ++++++++
 community-staging-x86_64/PKGBUILD                  |   33 +++++++++++++++++++
 community-staging-x86_64/move_away_from_sbin.patch |   14 ++++++++
 4 files changed, 94 insertions(+)

Copied: bonnie++/repos/community-staging-i686/PKGBUILD (from rev 148662, 
bonnie++/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2015-12-05 18:41:08 UTC (rev 148663)
@@ -0,0 +1,33 @@
+# Maintainer: jelle van der Waa <[email protected]>
+# Contributor: eric <[email protected]>
+# Contributor: Tom Newsom <[email protected]>
+
+pkgname=bonnie++
+pkgver=1.97
+pkgrel=2
+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++/experimental/$pkgname-$pkgver.tgz)
+md5sums=('d6cf9703242998b2ddc2d875b028b3c6')
+build() {
+  cd $srcdir/${pkgname}-${pkgver}.1
+
+  ./configure --prefix=/usr 
+  sed -i "s:CFLAGS=-O2  -DNDEBUG \$(WFLAGS) \$(MORECFLAGS):CFLAGS=${CFLAGS}:" 
Makefile
+  make
+}
+
+package() {
+  cd $srcdir/${pkgname}-${pkgver}.1
+
+  # https://www.archlinux.org/todo/move-files-to-usrbin-if-possible/
+  sed -i 's/sbin/bin/' Makefile
+  make prefix="${pkgdir}/usr" install
+
+  install -d $pkgdir/usr/share/doc/bonnie++
+  install -Dm644 $srcdir/$pkgname-$pkgver.1/readme.html 
$pkgdir/usr/share/doc/bonnie++/readme.html
+}
+

Copied: bonnie++/repos/community-staging-i686/move_away_from_sbin.patch (from 
rev 148662, bonnie++/trunk/move_away_from_sbin.patch)
===================================================================
--- community-staging-i686/move_away_from_sbin.patch                            
(rev 0)
+++ community-staging-i686/move_away_from_sbin.patch    2015-12-05 18:41:08 UTC 
(rev 148663)
@@ -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

Copied: bonnie++/repos/community-staging-x86_64/PKGBUILD (from rev 148662, 
bonnie++/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-05 18:41:08 UTC (rev 148663)
@@ -0,0 +1,33 @@
+# Maintainer: jelle van der Waa <[email protected]>
+# Contributor: eric <[email protected]>
+# Contributor: Tom Newsom <[email protected]>
+
+pkgname=bonnie++
+pkgver=1.97
+pkgrel=2
+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++/experimental/$pkgname-$pkgver.tgz)
+md5sums=('d6cf9703242998b2ddc2d875b028b3c6')
+build() {
+  cd $srcdir/${pkgname}-${pkgver}.1
+
+  ./configure --prefix=/usr 
+  sed -i "s:CFLAGS=-O2  -DNDEBUG \$(WFLAGS) \$(MORECFLAGS):CFLAGS=${CFLAGS}:" 
Makefile
+  make
+}
+
+package() {
+  cd $srcdir/${pkgname}-${pkgver}.1
+
+  # https://www.archlinux.org/todo/move-files-to-usrbin-if-possible/
+  sed -i 's/sbin/bin/' Makefile
+  make prefix="${pkgdir}/usr" install
+
+  install -d $pkgdir/usr/share/doc/bonnie++
+  install -Dm644 $srcdir/$pkgname-$pkgver.1/readme.html 
$pkgdir/usr/share/doc/bonnie++/readme.html
+}
+

Copied: bonnie++/repos/community-staging-x86_64/move_away_from_sbin.patch (from 
rev 148662, bonnie++/trunk/move_away_from_sbin.patch)
===================================================================
--- community-staging-x86_64/move_away_from_sbin.patch                          
(rev 0)
+++ community-staging-x86_64/move_away_from_sbin.patch  2015-12-05 18:41:08 UTC 
(rev 148663)
@@ -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

Reply via email to