PKGBUILDs/aur/netctl/PKGBUILD

37 lines
1.2 KiB
Bash
Raw Normal View History

2013-01-14 17:03:24 +00:00
# Maintainer: Jouke Witteveen <j.witteveen@gmail.com>
pkgname=netctl
2013-03-12 16:41:25 +00:00
pkgver=0.6
2013-02-23 23:57:21 +00:00
pkgrel=1
2013-01-14 17:03:24 +00:00
arch=(any)
pkgdesc="Network configuration and profile scripts"
2013-02-02 00:03:21 +00:00
url="http://projects.archlinux.org/netctl.git/"
2013-01-14 17:03:24 +00:00
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'
)
2013-02-02 00:03:21 +00:00
conflicts=("netcfg")
provides=("netcfg")
2013-01-14 17:03:24 +00:00
2013-02-23 23:57:21 +00:00
source=(ftp://ftp.archlinux.org/other/packages/netctl/netctl-${pkgver}.tar.xz)
arch=(any)
2013-03-12 16:41:25 +00:00
md5sums=('d19b6a30b388c3c713fac75326229068')
2013-01-14 17:03:24 +00:00
package() {
2013-02-23 23:57:21 +00:00
cd "$srcdir/netctl-${pkgver}"
make DESTDIR="$pkgdir" install
2013-02-03 05:08:52 +00:00
2013-02-23 23:57:21 +00:00
# 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"
2013-01-14 17:03:24 +00:00
}