summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancisco Lopes2021-01-17 00:56:49 -0300
committerFrancisco Lopes2021-01-17 00:56:49 -0300
commit10ac3c6fbfbafde79805836b30400f52df1e937a (patch)
treef310689da3300ca93d394f8e07acd520bd8f07a8
parentbfcb35f1e60c35736c91f560e285f613b86b75bc (diff)
downloadaur-10ac3c6fbfbafde79805836b30400f52df1e937a.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 7288b361f7b6..a94dc1c772c1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = interception-xswitch
pkgdesc = xswitch: an Interception Tools tool to redirect stdin to a muxer if a X window matches
pkgver = 0.1.6
- pkgrel = 1
+ pkgrel = 2
url = https://gitlab.com/interception/linux/plugins/xswitch
arch = x86_64
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 310fd3c409f7..6b7d84345e3b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Francisco Lopes <francisco+interception@nosubstance.me>
pkgname=interception-xswitch
pkgver=0.1.6
-pkgrel=1
+pkgrel=2
pkgdesc='xswitch: an Interception Tools tool to redirect stdin to a muxer if a X window matches'
arch=('x86_64')
license=('MIT')
@@ -21,4 +21,10 @@ package() {
cd ${srcdir}/xswitch-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}"
}