1 # Maintainer: Archlive <carbonjiao alt gmail dot com>
2 # Contributor: Archlive <carbonjiao alt gmail dot com>
7 pkgdesc="Boot and save changes to loop file support to initcpio of Arch"
9 url="http://archlive-pkg.googlecode.com"
11 depends=('mkinitcpio' 'aufs2' 'aufs2-util' 'e2fsprogs' 'coreutils' 'util-linux')
12 optdepends=('ntfs-3g: to enable place the loop files in ntfs partition')
14 install=$pkgname.install
16 _hgroot="https://save2loop.archlive-pkg.googlecode.com/hg/"
22 [ -d ${_hgrepo} ] && rm -rf ${_hgrepo}
23 hg clone ${_hgroot} ${_hgrepo}
25 install -Dm644 ${pkgname}_hook ${pkgdir}/lib/initcpio/hooks/${pkgname}
26 install -Dm644 ${pkgname}_install ${pkgdir}/lib/initcpio/install/${pkgname}