From bff96b33e68d1b9db990246ef500dbd346468f01 Mon Sep 17 00:00:00 2001 From: Daniel Wallace Date: Sat, 23 Feb 2013 18:57:21 -0500 Subject: [PATCH] update netctl to 0.5 --- aur/netctl/PKGBUILD | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/aur/netctl/PKGBUILD b/aur/netctl/PKGBUILD index e6c86e840..514f747d4 100644 --- a/aur/netctl/PKGBUILD +++ b/aur/netctl/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Jouke Witteveen 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" + # Shell Completion + 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')