4 pkgdesc="Compressed virtual swap disc for Linux"
5 url="http://code.google.com/p/compcache/"
6 install=${pkgname}.install
10 backup=(etc/conf.d/compcache)
11 makedepends=('kernel26-headers' 'mercurial')
13 source=(compcache.conf compcache.init)
14 md5sums=('0c19420ec23bd3402f3a6ccb4ed6f614'
15 '39a9ad057d33670b60160fdce68e6526')
17 _gitroot=https://code.google.com/p/compcache/
23 if [ -e ${_gitname} ] ; then
28 git clone ${_gitroot} ${_gitname}
31 cd $srcdir/${_gitname}
33 install -Dm 644 $srcdir/${_gitname}/README $pkgdir/usr/share/compcache/README
34 install -Dm 755 $srcdir/${_gitname}/sub-projects/scripts/zram_stats $pkgdir/usr/bin/zram_stats
35 install -Dm 644 $srcdir/compcache.conf $pkgdir/etc/conf.d/compcache
36 install -Dm 755 $srcdir/compcache.init $pkgdir/etc/rc.d/compcache