30 lines
947 B
Plaintext
30 lines
947 B
Plaintext
# Template file for 'netctl'
|
|
pkgname=netctl
|
|
version=1.4
|
|
revision=1
|
|
hostmakedepends="pkg-config"
|
|
makedepends="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=9312cae5f5f4474b581e256f87ecd2976c9f76e8696abdc03050aba4df76a6c0
|
|
|
|
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
|
|
}
|
|
}
|