diff options
author | Francisco Lopes | 2021-01-17 00:59:23 -0300 |
---|---|---|
committer | Francisco Lopes | 2021-01-17 00:59:23 -0300 |
commit | 36b287bf2fc7cf0d9f783b6d0e7b58a72dae2250 (patch) | |
tree | d6ce6d08b9f0906c2bae89ae5fc54b36e6ac58f6 | |
parent | 777c189af6045e16b6e4e697832181d244e7df68 (diff) | |
download | aur-36b287bf2fc7cf0d9f783b6d0e7b58a72dae2250.tar.gz |
Add license and documentation
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -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 @@ -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}" } |