diff options
author | David Harrigan | 2019-10-22 11:11:10 +0100 |
---|---|---|
committer | David Harrigan | 2019-10-22 11:11:10 +0100 |
commit | 1e97882eee2b4178bb5ddc049e80e770f2395f48 (patch) | |
tree | 9cd873f566b66c9e9289921ea8b4dbb13358753e /PKGBUILD | |
parent | 20b2b7af017ea381fd217592c29abf63e835083d (diff) | |
download | aur-1e97882eee2b4178bb5ddc049e80e770f2395f48.tar.gz |
feat: use a subdirectory for configuration
Instead of pulling in the entire `/etc/wireguard` directory, use a
subdirectory, namely `/etc/wireguard/initcpio` to store the configuration.
upgpkg: mkinitcpio-wireguard 0.2.0-1
upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,7 +1,7 @@ # Maintainer: David Harrigan <dharrigan [@] gmail [dot] com> pkgname=mkinitcpio-wireguard -pkgver=0.1.0 +pkgver=0.2.0 pkgrel=1 pkgdesc='mkinitcpio hook that initialises Wireguard to assist in the remote unlocking of encrypted partitions.' url='https://github.com/dharrigan/mkinitcpio-wireguard' @@ -9,19 +9,19 @@ arch=('x86_64') license=('Unlicense') install="${pkgname}.install" depends=('mkinitcpio>=0.9.0' 'wireguard-tools') -backup=('etc/wireguard/remote-unlock') +backup=('etc/wireguard/initcpio/unlock') source=('wireguard_hook' 'wireguard_install' 'wireguard_config') package() { install -o root -g root -D ${srcdir}/wireguard_hook ${pkgdir}/usr/lib/initcpio/hooks/wireguard install -o root -g root -D ${srcdir}/wireguard_install ${pkgdir}/usr/lib/initcpio/install/wireguard - install -o root -g root -D ${srcdir}/wireguard_config ${pkgdir}/etc/wireguard/remote-unlock + install -o root -g root -D ${srcdir}/wireguard_config ${pkgdir}/etc/wireguard/initcpio/unlock } sha256sums=( -'baa64d53adf5a60092c5df59c6ccf9e8253be4b7c947f89a9afd2cf0a84eea97' -'edf47fa52c1e5e802a5920b8fc3dea281d33c243e79364717c64588f384befaf' -'9385ec468589f0621d2a90839ebe4b38d37824ea706c2b2edf8f41b0f239f7e8' +'cf4027c5c88a521f76ecfe257ee0bbcaf24294f8dcc97b8128cf77a3cd547d09' +'5bbbe54b9bd0469537c74f892fd30fcb90e9b49143addc7a03f4366419d6bff6' +'7e6c925ba973a90f63100a1a56b2e57f017d1155c1d0514f38cf9eeca557bd99' ) # vim:set syntax=sh tw=78: |