2013-06-02 10:26:23 +00:00
|
|
|
# Template file for 'netctl'
|
|
|
|
pkgname=netctl
|
2013-11-08 10:58:45 +00:00
|
|
|
version=1.4
|
2013-07-18 04:21:07 +00:00
|
|
|
revision=1
|
2013-08-06 14:14:29 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="iproute2 openresolv dhcpcd wpa_supplicant dialog systemd-devel"
|
2013-06-02 10:26:23 +00:00
|
|
|
short_desc="Profile based systemd network management"
|
2013-06-03 07:21:57 +00:00
|
|
|
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"
|
2013-11-08 10:58:45 +00:00
|
|
|
checksum=9312cae5f5f4474b581e256f87ecd2976c9f76e8696abdc03050aba4df76a6c0
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
netctl_package() {
|
2013-06-03 07:26:41 +00:00
|
|
|
depends="iproute2 openresolv dhcpcd wpa_supplicant dialog systemd"
|
2013-06-02 10:26:23 +00:00
|
|
|
noarch="yes"
|
2013-06-03 07:21:57 +00:00
|
|
|
make_dirs="
|
|
|
|
/etc/netctl/interfaces 0750 root root
|
|
|
|
/etc/netctl/hooks 0750 root root"
|
2013-06-02 10:26:23 +00:00
|
|
|
pkg_install() {
|
2013-06-04 16:20:53 +00:00
|
|
|
vmove all
|
2013-06-02 10:26:23 +00:00
|
|
|
}
|
|
|
|
}
|