netctl: fix error in maintainer; add missing build/run deps; create required dirs.

This commit is contained in:
Juan RP 2013-06-03 09:21:57 +02:00
parent ccc138edf9
commit d7d50ac48f
1 changed files with 6 additions and 3 deletions

View File

@ -3,12 +3,12 @@ pkgname=netctl
version=1.1 version=1.1
revision=1 revision=1
short_desc="Profile based systemd network management" short_desc="Profile based systemd network management"
maintainer="Ypnose <linuxienATlegtuxDOTorg> maintainer="Ypnose <linuxienATlegtuxDOTorg>"
homepage="http://projects.archlinux.org/netctl.git/" homepage="http://projects.archlinux.org/netctl.git/"
license="GPL" license="GPL"
distfiles="ftp://ftp.archlinux.org/other/packages/${pkgname}/${pkgname}-${version}.tar.xz" distfiles="ftp://ftp.archlinux.org/other/packages/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=54a4891250f53190758b4c67ca397b963e1b7cc460e85cbe6677d541f1b8894d checksum=54a4891250f53190758b4c67ca397b963e1b7cc460e85cbe6677d541f1b8894d
makedepends="pkg-config" makedepends="pkg-config iproute2 openresolv dhcpcd wpa_supplicant systemd-devel"
do_install() { do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR install make PREFIX=/usr DESTDIR=$DESTDIR install
@ -17,8 +17,11 @@ do_install() {
} }
netctl_package() { netctl_package() {
depends="iproute2 openresolv" depends="iproute2 openresolv dhcpcd wpa_supplicant systemd"
noarch="yes" noarch="yes"
make_dirs="
/etc/netctl/interfaces 0750 root root
/etc/netctl/hooks 0750 root root"
pkg_install() { pkg_install() {
vmove usr vmove usr
} }