PKGBUILDs/aur/netctl/PKGBUILD
2013-04-08 12:47:39 -04:00

37 lines
1.2 KiB
Bash

# Maintainer: Jouke Witteveen <j.witteveen@gmail.com>
pkgname=netctl
pkgver=0.8
pkgrel=1
arch=(any)
pkgdesc="Network configuration and profile scripts"
url="http://projects.archlinux.org/netctl.git/"
license=("GPL")
depends=("coreutils" "iproute2" "openresolv")
makedepends=('asciidoc')
optdepends=('dialog: for the menu based wifi assistant'
'dhclient: for DHCP support, or use dhcpcd'
'dhcpcd: for DHCP support, or use dhclient'
'wpa_supplicant: for wireless networking support'
'ifplugd: for automatic wired connections through netctl-ifplugd'
'wpa_actiond: for automatic wireless connections through netctl-auto'
'ifenslave: for bond connections'
'bridge-utils: for bridge connections'
)
conflicts=("netcfg")
provides=("netcfg")
source=(ftp://ftp.archlinux.org/other/packages/netctl/netctl-${pkgver}.tar.xz{,.sig})
arch=(any)
md5sums=('d19b6a30b388c3c713fac75326229068'
'SKIP')
package() {
cd "$srcdir/netctl-${pkgver}"
make DESTDIR="$pkgdir" install
# 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"
}