void-packages/srcpkgs/netctl/template
2014-05-06 17:11:34 +02:00

23 lines
888 B
Text

# Template file for 'netctl'
pkgname=netctl
version=1.7
revision=1
hostmakedepends="pkg-config"
makedepends="iproute2 openresolv dhcpcd wpa_supplicant dialog systemd-devel"
depends="iproute2 openresolv dhcpcd wpa_supplicant dialog systemd"
noarch="yes"
make_dirs="
/etc/netctl/interfaces 0750 root root
/etc/netctl/hooks 0750 root root"
short_desc="Profile based systemd network management"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
homepage="http://projects.archlinux.org/netctl.git/"
license="GPL"
distfiles="ftp://ftp.archlinux.org/other/packages/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=1960f610e183a600b152301b63b9558b51f1b9efa026a38b6f6b217ead34f3f4
do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR install
vinstall contrib/bash-completion 644 usr/share/bash-completion/completions/netctl
vinstall contrib/zsh-completion 644 usr/share/zsh/site-functions/_netctl
}