summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWojciech Knapik2017-07-17 02:54:53 +0200
committerWojciech Knapik2017-07-17 02:54:53 +0200
commite1851068fc55dbfe8f4043156ea8f831fa7b1a81 (patch)
tree62fcf72492840f133bb60b202e189007d312fc45
parentd2357e0b13fadde3d1e9eb7ce64505c0f85742bd (diff)
downloadaur-e1851068fc55dbfe8f4043156ea8f831fa7b1a81.tar.gz
Added extras.
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ae0c6e291ab..3d720df17ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,10 +17,13 @@ pkgver() {
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
+# FIXME: move to /etc/openvpn/client and chown to root:network.
package() {
cd "$srcdir/${pkgname%-git}"
install -D -m755 "${pkgname%-git}.sh" "${pkgdir}/etc/openvpn/${pkgname%-git}.sh"
- install -D -m644 "README.md" "${pkgdir}/usr/share/doc/${pkgname%-git}/README.md"
- install -D -m644 "example.conf" "${pkgdir}/usr/share/doc/${pkgname%-git}/example.conf"
+ install -D -m644 README.md "${pkgdir}/usr/share/doc/${pkgname%-git}/README.md"
+ for f in basic_firewall.sh block_ipv6.sh disable_ipv6.conf example.conf vpnfailsafe_reset.sh; do
+ install -D -m644 "extras/$f" "${pkgdir}/usr/share/doc/${pkgname%-git}/"
+ done
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-git}/LICENSE"
}