summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan2019-07-28 02:56:35 +1200
committerEthan2019-07-28 02:56:35 +1200
commitf01c50f0172126055e7eb08db84bd97d7b56aa18 (patch)
treeaea6ba886c15ea0bafad7f0b5e574c2bf4a99a7c
parentbaed5bacb37e48e8c80bd7faf1e0da0cadf53fc8 (diff)
downloadaur-f01c50f0172126055e7eb08db84bd97d7b56aa18.tar.gz
Package LICENSE and README.md
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d0bd625aa43..a40d8532cd3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = dsvpn
pkgdesc = A Dead Simple VPN.
pkgver = 0.1.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/jedisct1/dsvpn
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 40436d522dc..18ff2d5494f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Ethan Brittain-Morby <ebm539 at protonmail dot com>
pkgname=dsvpn
pkgver=0.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="A Dead Simple VPN."
arch=('any')
url="https://github.com/jedisct1/dsvpn"
@@ -20,7 +20,8 @@ build() {
package() {
cd "${pkgname}-${pkgver}"
- install -dm 755 "${pkgdir}"/usr/bin/
- install -m 755 dsvpn "${pkgdir}"/usr/bin/dsvpn
+ install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}