void-packages/srcpkgs/netctl/template
2013-07-18 06:21:07 +02:00

28 lines
929 B
Text

# Template file for 'netctl'
pkgname=netctl
version=1.2
revision=1
makedepends="pkg-config iproute2 openresolv dhcpcd wpa_supplicant dialog systemd-devel"
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=49489097a64e9e4ff160ca531c9859de5a5475a73a070a8e6bce4eccba5e964b
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
}
netctl_package() {
depends="iproute2 openresolv dhcpcd wpa_supplicant dialog systemd"
noarch="yes"
make_dirs="
/etc/netctl/interfaces 0750 root root
/etc/netctl/hooks 0750 root root"
pkg_install() {
vmove all
}
}