aur/netctl to 0.3-3

This commit is contained in:
Kevin Mihelich 2013-02-03 05:08:52 +00:00
parent a207ee3ce1
commit 7b546f1069

View file

@ -2,7 +2,7 @@
pkgname=netctl
pkgver=0.3
pkgrel=2
pkgrel=3
arch=(any)
pkgdesc="Network configuration and profile scripts"
url="http://projects.archlinux.org/netctl.git/"
@ -22,15 +22,16 @@ conflicts=("netcfg")
provides=("netcfg")
source=("https://projects.archlinux.org/$pkgname.git/snapshot/$pkgver.tar.gz"
source=("ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.gz"
'zsh-completion')
package() {
make -C "$srcdir/$pkgname-$pkgver" DESTDIR="$pkgdir" install
make -C "$srcdir/$pkgver" DESTDIR="$pkgdir" install
# Shell Completion
install -D -m644 "$srcdir/$pkgname-$pkgver/contrib/bash-completion" "$pkgdir/usr/share/bash-completion/completions/netctl"
install -Dm644 "$srcdir/$pkgver/contrib/bash-completion" "$pkgdir/usr/share/bash-completion/completions/netctl"
install -Dm644 "$srcdir/zsh-completion" "$pkgdir/usr/share/zsh/site-functions/_netctl"
}
md5sums=('ec67fcb75fdb750847a9ebfcd10806df'
md5sums=('c5db1be925036ae4bd448088119e432c'
'3428e0e7f061bbcde41f2fe64d8d96dd')