summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Semjonov2019-07-12 14:09:11 +0200
committerAnton Semjonov2019-07-12 14:09:11 +0200
commit39133f4ca90a4ecba5c83069580464eca7f5055e (patch)
treea285c5759b9a3d8724d55324723f73348d421540
parentf8cfa6fc707e86de9f04a89300f99d41dd1ea68d (diff)
downloadaur-39133f4ca90a4ecba5c83069580464eca7f5055e.tar.gz
install license during packaging
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ee49fd4dfd07..0e9f0f8dbfe1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = aenker
pkgdesc = Authenticated encryption on the commandline using a chunked construction and elliptic curve25519 keys.
pkgver = 0.6.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ansemjo/aenker
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 2642762f341c..a282fefe45be 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgdesc="Authenticated encryption on the commandline using a chunked constructio
license=('MIT')
pkgver=0.6.0
-pkgrel=1
+pkgrel=2
arch=('any')
depends=()
@@ -31,4 +31,5 @@ check() {
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}