1 # Contributor: 3ED <krzysztof1987@gmail.com>
5 pkgdesc="Light'n'fast aur and pacman frontend."
7 url="http://3ed.jogger.pl/2009/02/15/aurpac/"
10 optdepends=('pacman-color' 'gettext')
11 backup=(etc/aurpac.conf)
12 source=($pkgname-$pkgver.tar.bz2)
13 md5sums=('6fe056a2f9cf5ac0963b653d68e2a00d')
18 #PREFIX="/bla" aurpac <- work too [default is /usr]
19 #sed -i 's|^PREFIX=".*" ###SED###$|PREFIX="/usr" ###SED###|' aurpac
21 install -v -d "$pkgdir/usr/bin/" || return 1
22 install -v -d "$pkgdir/etc/" || return 1
24 install -v -m755 "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname" || return 1
25 install -v -m644 "$srcdir/config" "$pkgdir/etc/$pkgname.conf" || return 1
27 find mod/ -type d -exec install -v -m755 -d "$pkgdir/usr/share/aurpac/{}" \; || return 1
28 find mod/ -type f -exec install -v -m644 "{}" "$pkgdir/usr/share/aurpac/{}" \; || return 1