2013-06-02 12:26:23 +02:00
|
|
|
# Template file for 'netctl'
|
|
|
|
pkgname=netctl
|
|
|
|
version=1.1
|
2013-06-04 18:20:53 +02:00
|
|
|
revision=3
|
2013-06-02 12:26:23 +02:00
|
|
|
short_desc="Profile based systemd network management"
|
2013-06-03 09:21:57 +02:00
|
|
|
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"
|
|
|
|
checksum=54a4891250f53190758b4c67ca397b963e1b7cc460e85cbe6677d541f1b8894d
|
2013-06-03 09:26:41 +02:00
|
|
|
makedepends="pkg-config iproute2 openresolv dhcpcd wpa_supplicant dialog systemd-devel"
|
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"
|
2013-06-03 09:21:57 +02:00
|
|
|
make_dirs="
|
|
|
|
/etc/netctl/interfaces 0750 root root
|
|
|
|
/etc/netctl/hooks 0750 root root"
|
2013-06-02 12:26:23 +02:00
|
|
|
pkg_install() {
|
2013-06-04 18:20:53 +02:00
|
|
|
vmove all
|
2013-06-02 12:26:23 +02:00
|
|
|
}
|
|
|
|
}
|