summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsolsTiCe d'Hiver2020-10-24 09:36:56 +0200
committersolsTiCe d'Hiver2020-10-24 09:36:56 +0200
commit842eda1d8c82388a9fb86153db0c4e85cf40bf68 (patch)
tree4de2dab9c0bf75702808e2ba7640d31de19733ec
parente56072fbdbd8ea16eb3b7a57e065b0553266193d (diff)
downloadaur-842eda1d8c82388a9fb86153db0c4e85cf40bf68.tar.gz
Move LICENSE file to corrent directory
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 281863a2ecc0..8be2f503ec30 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = piavpn-manual-git
pkgdesc = Shell scripts to connect manually to PIA VPN
pkgver = r26.82ebed7
-pkgrel = 2
+pkgrel = 3
url = https://github.com/pia-foss/manual-connections
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 7a5bd7fa859a..fdff2fafff01 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=piavpn-manual-git
_pkgname=piavpn-manual
pkgver=r26.82ebed7
-pkgrel=2
+pkgrel=3
pkgdesc="Shell scripts to connect manually to PIA VPN"
arch=(any)
url="https://github.com/pia-foss/manual-connections"
@@ -24,4 +24,7 @@ package() {
cd "$srcdir/manual-connections"
mkdir -p "$pkgdir/opt/piavpn-manual"
cp -r * "$pkgdir/opt/piavpn-manual"
+ # reminder: MIT (and BSD, ISC, Python and OFL) are common licenses but file still needs to be installed in /usr/share/licenses/...
+ mkdir -p "$pkgdir/usr/share/licenses/piavpn-manual-git"
+ mv "$pkgdir/opt/piavpn-manual/LICENSE" "$pkgdir/usr/share/licenses/piavpn-manual-git"
}