[arch-commits] Commit in dmraid/trunk (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Mon May 11 02:11:31 EDT 2009


    Date: Monday, May 11, 2009 @ 02:11:31
  Author: tpowa
Revision: 38979

upgpkg: dmraid 1.0.0.rc14-3

Modified:
  dmraid/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-11 05:02:21 UTC (rev 38978)
+++ PKGBUILD	2009-05-11 06:11:31 UTC (rev 38979)
@@ -4,7 +4,7 @@
 
 pkgname=dmraid
 pkgver=1.0.0.rc14
-pkgrel=2
+pkgrel=3
 pkgdesc="Device mapper RAID interface"
 url="http://people.redhat.com/~heinzm/sw/dmraid/"
 depends=(device-mapper)
@@ -15,30 +15,29 @@
         dmraid_hook)
 options=(force)
 install=dmraid.install
-
-
 md5sums=('a0e7d0bb5394e15c878ac86afd72c08e'
          '8f8b6fb332fce85a27d72fc63385db70'
          '60e095be004ce66771d56235c5f7be13')
 
 build() {
   cd $srcdir/$pkgname/$pkgver
-
   # create static bin
-  ./configure --enable-static_link --prefix=/usr
+  ./configure --enable-static_link --prefix=/usr 
   make || return 1
   make DESTDIR=$pkgdir exec_prefix=$pkgdir/usr install
   mv $pkgdir/usr/sbin/dmraid $pkgdir/usr/sbin/dmraid.static
 
   # create dynamic linked bin
-  ./configure --prefix=/usr
+  ./configure --prefix=/usr 
   make || return 1
   make DESTDIR=$pkgdir exec_prefix=$pkgdir/usr install
   mkdir -p $pkgdir/var/lock/dmraid
   chmod 1777 $pkgdir/var/lock/
-
   install -D -m755 $srcdir/dmraid_install $pkgdir/lib/initcpio/install/dmraid
   install -D -m755 $srcdir/dmraid_hook $pkgdir/lib/initcpio/hooks/dmraid
   # fix .a file
   chmod 644 $pkgdir/usr/lib/libdmraid.a
+  # fix manpage
+  mkdir -p $pkgdir/usr/share/man
+  mv $pkgdir/usr/man/man8 $pkgdir/usr/share/man/
 }



More information about the arch-commits mailing list