1 # Maintainer: Estevao Valadao <estevao@archlinux-br.org>
6 pkgdesc="vABS Packaging Utility"
8 url="http://github.com/estevao/vpack"
11 depends=('sqlite3' 'zsync')
13 install='vpack.install'
14 _gitbase='http://github.com/estevao/vpack.git'
20 msg "Connecting to GitHub..."
22 if [ -d "$startdir/src/$_gitrepo" ] ; then
23 cd "$_gitrepo" && git pull origin
29 mkdir -p "$pkgdir/etc"
30 mkdir -p "$pkgdir/usr/bin/"
31 mkdir -p "$pkgdir/var/lib/vpack"
32 install -m 755 vpack "$pkgdir/usr/bin/vpack"
33 install -m 644 vpack.conf "$pkgdir/etc/vpack.conf"
35 if [ "$CARCH" = i686 ]; then
36 sed -i '/ARCH=/s|x86_64|i686|' "${pkgdir}/etc/vpack.conf"