void-packages/srcpkgs/netctl/template

30 lines
947 B
Plaintext
Raw Normal View History

2013-06-02 12:26:23 +02:00
# Template file for 'netctl'
pkgname=netctl
2013-08-06 16:14:29 +02:00
version=1.3
2013-07-18 06:21:07 +02:00
revision=1
2013-08-06 16:14:29 +02:00
hostmakedepends="pkg-config"
makedepends="iproute2 openresolv dhcpcd wpa_supplicant dialog systemd-devel"
2013-06-02 12:26:23 +02:00
short_desc="Profile based systemd network management"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
2013-06-02 12:26:23 +02:00
homepage="http://projects.archlinux.org/netctl.git/"
license="GPL"
distfiles="ftp://ftp.archlinux.org/other/packages/${pkgname}/${pkgname}-${version}.tar.xz"
2013-08-06 16:14:29 +02:00
checksum=f0019cca3a87c03253f18251f7157c2c43d2468ee541ac0fdab8f8aeecec8488
2013-06-02 12:26:23 +02: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
}
netctl_package() {
2013-06-03 09:26:41 +02:00
depends="iproute2 openresolv dhcpcd wpa_supplicant dialog systemd"
2013-06-02 12:26:23 +02:00
noarch="yes"
make_dirs="
/etc/netctl/interfaces 0750 root root
/etc/netctl/hooks 0750 root root"
2013-06-02 12:26:23 +02:00
pkg_install() {
vmove all
2013-06-02 12:26:23 +02:00
}
}