summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilio Reggi2021-04-05 12:13:14 +0200
committerEmilio Reggi2021-04-05 12:13:14 +0200
commit834b816497eff9098cdb2d6430b01a2670ad572d (patch)
tree1c111d6abbc29957074e7e1fd461bf2c4c521997
parent4a490dbdf001d8859f07917084656e7b0077c77f (diff)
downloadaur-834b816497eff9098cdb2d6430b01a2670ad572d.tar.gz
Added BSD licence install
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 02fbf7149d4..4d44c83016f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ arch=('any')
url="https://github.com/soywod/himalaya"
license=('BSD')
depends=('gcc-libs' 'openssl')
-makedepends=('cargo' 'git') # 'bzr', 'git', 'mercurial' or 'subversion'
+makedepends=('cargo' 'git')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}"::"git+${url}")
@@ -32,4 +32,6 @@ check() {
package() {
cd "$_pkgname"
install -Dm 755 target/release/${_pkgname} -t "${pkgdir}/usr/bin"
+ install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+ install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}