summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesin2017-08-12 17:16:42 -0400
committerJesin2017-08-12 17:16:42 -0400
commit413f2ea51a817a062e63c2998a0b0b0c885e16e9 (patch)
treea0fcdeab4cd1b12c0867a0cb2c21d9b8016a4807
parent6a5b70ef5548cbb0a9c49ac0afd6c88e46d638e2 (diff)
downloadaur-413f2ea51a817a062e63c2998a0b0b0c885e16e9.tar.gz
install LICENSE file
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e25bdba929ec..0fc327f9deb3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = libb2
pkgdesc = C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp hash functions
pkgver = 0.0.15.g9a0d006
- pkgrel = 1
+ pkgrel = 2
url = https://blake2.net/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index cf6f2cdac5f6..f13b2798097a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Jesin <Jesin00@gmail.com>
pkgname=libb2
pkgver=0.0.15.g9a0d006
-pkgrel=1
+pkgrel=2
arch=(i686 x86_64)
pkgdesc='C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp hash functions'
url=https://blake2.net/
@@ -38,4 +38,5 @@ build() {
package() {
cd "$pkgname"
make "DESTDIR=$pkgdir" install
+ install -Dm644 "-t$pkgdir/usr/share/licenses/$pkgname" LICENSE
}