diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2013-05-05 23:07:06 +0200 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2013-05-05 23:07:06 +0200 |
commit | 2587acda28156f50149a15cad67d0c0bc1eb0bb4 (patch) | |
tree | 5b9a1cccd3a513caddc171bc76b38428eeaa78be /contrib | |
parent | 11f6a8ce077bf403cf0b1945f8385a6653162c05 (diff) | |
download | netctl-2587acda28156f50149a15cad67d0c0bc1eb0bb4.tar.gz netctl-2587acda28156f50149a15cad67d0c0bc1eb0bb4.tar.xz |
Use pkg-config to obtain the systemd system unit directory
This ensures the units are installed correctly if systemd is installed
in an alternate location like /lib/systemd. Idem for the location of
profile-based units.
Based on a proposal by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/PKGBUILD.in (renamed from contrib/PKGBUILD) | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/PKGBUILD b/contrib/PKGBUILD.in index 0190048..3c7b9b0 100644 --- a/contrib/PKGBUILD +++ b/contrib/PKGBUILD.in @@ -1,14 +1,15 @@ # Maintainer: Jouke Witteveen <j.witteveen@gmail.com> pkgname=netctl -pkgver=%pkgver% +pkgver=@pkgver@ pkgrel=1 pkgdesc='Profile based systemd network management' url='http://projects.archlinux.org/netctl.git/' license=('GPL') groups=('base') depends=('coreutils' 'iproute2' 'openresolv') -#makedepends=('asciidoc') # The source tarball includes pre-built documentation. +# The source tarball includes pre-built (using asciidoc) documentation. +makedepends=('pkg-config') optdepends=('dialog: for the menu based wifi assistant' 'dhclient: for DHCP support (or dhcpcd)' 'dhcpcd: for DHCP support (or dhclient)' @@ -21,8 +22,8 @@ optdepends=('dialog: for the menu based wifi assistant' ) source=(ftp://ftp.archlinux.org/other/packages/netctl/netctl-${pkgver}.tar.xz{,.sig}) arch=('any') -md5sums=('%md5sum%' - '%md5sum.sig%') +md5sums=('@md5sum@' + '@md5sum.sig@') package() { cd "$srcdir/netctl-${pkgver}" |