pkgname=netctl pkgver=1.29 pkgrel=1 pkgdesc="Profile based systemd network management" url="https://gitlab.archlinux.org/archlinux/netctl" license=("GPL") arch=('x86_64') depends=('coreutils' 'iproute2' 'openresolv') makedepends=('pkg-config') optdepends=('dialog: for the menu based wifi assistant' 'dhclient: for DHCP support (or dhcpcd)') source=("https://sources.archlinux.org/other/packages/netctl/netctl-${pkgver}.tar.xz") md5sums=('45b6cf715537d2b8fe603a93434447c3') package() { cd 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 }