summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2c3c0fe6bfd7ae509e83dcf06095f56f85e439f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Adrien Gallou√ęt <adrien@gallouet.fr>
pkgname=secret
pkgver=0.11
pkgrel=4
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")
md5sums=('SKIP')

prepare() {
  cd "$srcdir/$pkgname"
  git submodule update --init --recursive
}

build() {
  cd "$srcdir/$pkgname"
  make
}

package() {
  cd "$srcdir/$pkgname"
  install -D -m0755 -s "$pkgname" "$pkgdir/usr/bin/$pkgname"
  install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}