blob: 1b2c6c5ea94c02118d5c566262b4aa513039ad48 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Byron Torres <b@torresjrjr.com>
# Project: https://sr.ht/~sircmpwn/himitsu
pkgname=himitsu
pkgver='0.8'
pkgrel=1
pkgdesc='Secret storage manager (passwords, credentials, miscellaneous)'
arch=(x86_64)
url='https://himitsustore.org/'
license=(GPL3)
depends=()
makedepends=(hare scdoc)
install=himitsu.install
optdepends=('hiprompt-gtk-py: prompter support (GTK+)')
_extracted="$pkgname-$pkgver"
source=(
"$_extracted.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz"
'himitsud.service'
)
sha256sums=(
'fc670b24984de5d32df2e8ac34284fdbdaf83352c63c7910b334bfe941ea06ab'
'0d84a1ceb17b6be53066f9f617ee35f233ada2283c3f9b3cbea5f2c8b6c7001e'
)
build() {
cd "$srcdir/$_extracted"
unset HAREPATH
export LDFLAGS=${LDFLAGS#'-Wl,'}
export HARECACHE="$srcdir/.harecache"
make PREFIX=/usr
}
check() {
cd "$srcdir/$_extracted"
unset HAREPATH
make PREFIX=/usr check
}
package() {
cd "$srcdir/$_extracted"
make PREFIX=/usr DESTDIR="$pkgdir" install
cd "$srcdir"
install -Dm644 himitsud.service \
"$pkgdir/usr/lib/systemd/user/himitsud.service"
}
|