updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / repo-update / PKGBUILD
blobd117b425c81cfa2a16614dbe48f15e41cdbab011
1 # Maintainer: Ben Morgan <neembi@googlemail.com>
2 pkgname=repo-update
3 pkgver=1.4.1
4 pkgrel=1
5 pkgdesc="A supplement to repo-add which simplifies updating local repositories"
6 arch=('any')
7 url="https://github.com/cassava/repo-update"
8 license=('ISC')
9 depends=(pacman)
10 source=(https://github.com/downloads/cassava/$pkgname/$pkgname-$pkgver.tar.gz)
12 package() {
13   cd $srcdir/$pkgname-$pkgver
15   # Install the script
16   install -Dm755 repo-update $pkgdir/usr/bin/repo-update
18   # Install the license and other documentation
19   install -Dm644 LICENSE $pkgdir/usr/share/licenses/repo-update/LICENSE
20   install -d $pkgdir/usr/share/doc/repo-update
21   install -m644 TODO CHANGES $pkgdir/usr/share/doc/repo-update/
23   # Install the completion files
24   install -Dm644 zsh-completion $pkgdir/usr/share/zsh/site-functions/_repo-update
27 md5sums=('2cf63cb355bccbe6eda52cf79dbe7b24')