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

Sergej Pupykin spupykin at nymeria.archlinux.org
Tue May 28 17:02:43 UTC 2013


    Date: Tuesday, May 28, 2013 @ 19:02:43
  Author: spupykin
Revision: 91827

upgpkg: anyfs-tools 0.85.1c-4

upd

Modified:
  anyfs-tools/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-28 16:12:54 UTC (rev 91826)
+++ PKGBUILD	2013-05-28 17:02:43 UTC (rev 91827)
@@ -4,7 +4,7 @@
 
 pkgname=anyfs-tools
 pkgver=0.85.1c
-pkgrel=3
+pkgrel=4
 pkgdesc="unix-way toolset for recovering and converting filesystems"
 arch=('i686' 'x86_64')
 url="http://anyfs-tools.sourceforge.net/"
@@ -17,6 +17,11 @@
 md5sums=('d3da0004cd0f037ec3e926acd3f520c2'
          '5ea91297b605d51b03243adda1efed27')
 
+prepare() {
+  cd $srcdir/$pkgname-${pkgver}
+  find . -name Makefile.in -exec sed -i 's|$(INSTALLPATH)/sbin|$(INSTALLPATH)/bin|g' {} \;
+}
+
 build() {
   cd $srcdir/$pkgname-${pkgver}
 
@@ -25,7 +30,8 @@
   patch -p1 <$srcdir/disable-build-ext2fs.patch
 
   #Dirty Arch64 fix which doesn't affect i686
-  CFLAGS="-DNO_INLINE_FUNCS -D_INLINE_=static" ./configure --prefix=/usr --build=i686-linux-gnu
+  CFLAGS="-DNO_INLINE_FUNCS -D_INLINE_=static" \
+    ./configure --prefix=/usr --build=i686-linux-gnu
   make -j1
   sed -i 's|ldconfig||' src/anysurrect/Makefile
 }




More information about the arch-commits mailing list