Merge pull request #402 from gtmanfred/master

update netctl to 0.5
This commit is contained in:
Kevin Mihelich 2013-02-23 16:12:15 -08:00
commit fc681d1c6f

View file

@ -1,8 +1,8 @@
# Maintainer: Jouke Witteveen <j.witteveen@gmail.com>
pkgname=netctl
pkgver=0.3
pkgrel=3
pkgver=0.5
pkgrel=1
arch=(any)
pkgdesc="Network configuration and profile scripts"
url="http://projects.archlinux.org/netctl.git/"
@ -21,17 +21,16 @@ optdepends=('dialog: for the menu based wifi assistant'
conflicts=("netcfg")
provides=("netcfg")
source=("ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.gz"
'zsh-completion')
source=(ftp://ftp.archlinux.org/other/packages/netctl/netctl-${pkgver}.tar.xz)
arch=(any)
md5sums=('9ceeb6de07e8cb80a218bdb7920edd98')
package() {
make -C "$srcdir/$pkgver" DESTDIR="$pkgdir" install
cd "$srcdir/netctl-${pkgver}"
make DESTDIR="$pkgdir" install
# Shell Completion
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"
install -D -m644 contrib/bash-completion "$pkgdir/usr/share/bash-completion/completions/netctl"
install -D -m644 contrib/zsh-completion "$pkgdir/usr/share/zsh/site-functions/_netctl"
}
md5sums=('c5db1be925036ae4bd448088119e432c'
'3428e0e7f061bbcde41f2fe64d8d96dd')