1 # Archlive <http://archlive-pkg.googlecode.com>
6 pkgdesc="Utils for fatelf -- Universal Binaries for Linux"
8 url="http://www.icculus.org/fatelf/"
17 _hgroot="http://hg.icculus.org/icculus"
25 # if [ -d ${_hgrepo} ]; then
26 # cd ${_hgrepo} && hg pull -u -r ${pkgver}
28 # hg clone "${_hgroot}" "${_hgrepo}" || return 1
31 [ -d $srcdir/build ] && rm -rf $srcdir/build
32 mkdir -p $srcdir/build
35 msg2 "Start to build..."
38 sed -i "s|/usr/local|/usr|g" cmake_install.cmake
39 make DESTDIR=${pkgdir} install
42 install -d $pkgdir/usr/share/doc/fatelf
43 install $srcdir/${_hgrepo}/docs/*.txt $pkgdir/usr/share/doc/fatelf/