void-packages/srcpkgs/netctl/template

24 lines
888 B
Text
Raw Normal View History

2013-06-02 10:26:23 +00:00
# Template file for 'netctl'
pkgname=netctl
2014-03-11 12:21:48 +00:00
version=1.6
revision=1
2013-08-06 14:14:29 +00:00
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"
2013-06-02 10:26:23 +00:00
short_desc="Profile based systemd network management"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
2013-06-02 10:26:23 +00:00
homepage="http://projects.archlinux.org/netctl.git/"
license="GPL"
distfiles="ftp://ftp.archlinux.org/other/packages/${pkgname}/${pkgname}-${version}.tar.xz"
2014-03-11 12:21:48 +00:00
checksum=cff07bdf44fd9461b7582946707b171711ba4e29cff378d05cc7e88966f7c07d
2013-06-02 10:26:23 +00:00
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
}