summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPieter Joost2020-11-30 13:09:44 +0100
committerPieter Joost2020-11-30 13:09:54 +0100
commitd77a2baa150a80f1239fc1cbe84d993e8955b051 (patch)
treef6e5fa172c662ea82fb798e44bef21761ffb44d0
parent6bd90780beef8a7e243075c16570ae86537139e1 (diff)
downloadaur-d77a2baa150a80f1239fc1cbe84d993e8955b051.tar.gz
add and install license
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD2
2 files changed, 3 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f29987835577..cf2e21beacf4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4,6 +4,7 @@ pkgbase = qutebrowser-profile-git
pkgrel = 1
url = https://github.com/jtyers/qutebrowser-profile
arch = any
+ license = MIT
depends = bash
provides = qutebrowser-profile
conflicts = naivecalendar.py
diff --git a/PKGBUILD b/PKGBUILD
index 7e43e6f39376..1d341757a574 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,6 +8,7 @@ pkgdesc="A simple wrapper script for qutebrowser that allows you to maintain dif
url="https://github.com/jtyers/qutebrowser-profile"
pkgver=20200714.4dc3bfe
pkgrel=1
+license=("MIT")
arch=("any")
depends=("bash")
source=("git+https://github.com/jtyers/qutebrowser-profile.git")
@@ -22,4 +23,5 @@ package()
{
chmod +x "${srcdir}/${_pkgname}/qutebrowser-profile"
install -Dm755 "${srcdir}/${_pkgname}/qutebrowser-profile" "${pkgdir}/usr/bin/${_pkgname}"
+ install -Dm644 ${srcdir}/${_pkgname}/LICENSE "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
}