summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrien Gallouët2020-09-15 07:31:45 +0000
committerAdrien Gallouët2020-09-15 07:41:08 +0000
commitd0357a382eda9830088852cf1eb73be70a54fb9e (patch)
tree0b65800464e98c9e385a9c287e10ab592c2cd7bd
parentbeb826b5708db2b10977ab78d1a0d3d4d4ea3a9d (diff)
downloadaur-d0357a382eda9830088852cf1eb73be70a54fb9e.tar.gz
Install LICENSE
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 9 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5d7e74cbca7..546a8efd8eb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = secret
pkgdesc = A tiny secret store to keep your little secrets
pkgver = 0.10
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/angt/secret
arch = x86_64
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index bc369ae4da0..0d54a3a0a21 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
# Maintainer: Adrien Gallouët <adrien@gallouet.fr>
pkgname=secret
pkgver=0.10
-pkgrel=2
+pkgrel=3
pkgdesc="A tiny secret store to keep your little secrets"
arch=('x86_64')
url="https://github.com/angt/secret"
license=('BSD')
depends=()
makedepends=('git')
-source=("git+$url#tag=v${pkgver}")
+source=("git+$url#tag=v$pkgver")
md5sums=('SKIP')
prepare() {
@@ -16,7 +16,13 @@ prepare() {
git submodule update --init --recursive
}
+build() {
+ cd "$srcdir/$pkgname"
+ make
+}
+
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" prefix=/usr install
+ install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}