blob: 1c753a1bbc9f5863776f892c8e8ebab2e7790eb9 (
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
|
# Maintainer: Gregory G Danielson III <gregdan3@protonmail.com>
pkgname=doppler-cli-bin
pkgver=3.70.0
pkgrel=1
pkgdesc="CLI utility for Doppler, environment and secrets manager."
arch=("x86_64")
license=('Apache')
depends=()
url=https://doppler.com
source=("$pkgname.$pkgver.tar.gz::https://github.com/DopplerHQ/cli/releases/download/${pkgver}/doppler_${pkgver}_linux_amd64.tar.gz")
sha256sums=('b1eadf318bb2ff80f2b869a53d84bb3be00feb4400654a6291fd82312861f326')
_sourcedir=(".")
package() {
local dataopts='--mode 0644 -D --target-directory'
local binopts='--mode 0755 -D --target-directory'
local bindir="$pkgdir/usr/bin"
local shrdir="$pkgdir/usr/share"
local licdir="$shrdir/licenses/$pkgname"
local docdir="$shrdir/doc/$pkgname"
install $dataopts $licdir "$_sourcedir/LICENSE"
install $dataopts $docdir "$_sourcedir/README.md"
install $binopts $bindir "$_sourcedir/doppler"
}
|