summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancisco Lopes2021-01-17 00:59:23 -0300
committerFrancisco Lopes2021-01-17 00:59:23 -0300
commit36b287bf2fc7cf0d9f783b6d0e7b58a72dae2250 (patch)
treed6ce6d08b9f0906c2bae89ae5fc54b36e6ac58f6
parent777c189af6045e16b6e4e697832181d244e7df68 (diff)
downloadaur-36b287bf2fc7cf0d9f783b6d0e7b58a72dae2250.tar.gz
Add license and documentation
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 803ea4492d93..696dac2c08ea 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = interception-uswitch
pkgdesc = uswitch: an Interception Tools tool to redirect stdin to a muxer if logged user matches
pkgver = 0.1.1
- pkgrel = 1
+ pkgrel = 2
url = https://gitlab.com/interception/linux/plugins/uswitch
arch = x86_64
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 11b514d2559f..4ce10276dbde 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Francisco Lopes <francisco+interception@nosubstance.me>
pkgname=interception-uswitch
pkgver=0.1.1
-pkgrel=1
+pkgrel=2
pkgdesc='uswitch: an Interception Tools tool to redirect stdin to a muxer if logged user matches'
arch=('x86_64')
license=('MIT')
@@ -21,4 +21,10 @@ package() {
cd ${srcdir}/uswitch-v${pkgver}-*/build
make DESTDIR="$pkgdir/" install
+
+ mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m 644 ../LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}"
+
+ mkdir -p "${pkgdir}/usr/share/doc/${pkgname}"
+ install -m 644 ../README.md "${pkgdir}/usr/share/doc/${pkgname}"
}