diff --git a/srcpkgs/netctl/template b/srcpkgs/netctl/template new file mode 100644 index 00000000000..ebc0e2a42d8 --- /dev/null +++ b/srcpkgs/netctl/template @@ -0,0 +1,25 @@ +# Template file for 'netctl' +pkgname=netctl +version=1.1 +revision=1 +short_desc="Profile based systemd network management" +maintainer="Ypnose +homepage="http://projects.archlinux.org/netctl.git/" +license="GPL" +distfiles="ftp://ftp.archlinux.org/other/packages/${pkgname}/${pkgname}-${version}.tar.xz" +checksum=54a4891250f53190758b4c67ca397b963e1b7cc460e85cbe6677d541f1b8894d +makedepends="pkg-config" + +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" + noarch="yes" + pkg_install() { + vmove usr + } +}