blob: b75f00395ad13863412b05880c7e6c2f7d2e5937 (
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
46
47
48
49
50
51
52
|
# Maintainer: Iván Zaera Avellón <ivan.zaera@posteo.net>
pkgname=ministore
pkgver=2.0.0
pkgrel=1
pkgdesc='Mini keyring store based on GnuPG'
arch=('any')
url='https://codeberg.org/ivan.zaera/ministore'
license=('GPL-3.0-or-later')
depends=(
'bash'
'findutils'
'gnupg'
'grep'
'sed'
)
makedepends=(
'coreutils'
)
source=(
"$pkgname-$pkgver.tar.gz::https://codeberg.org/ivan.zaera/$pkgname/archive/$pkgver.tar.gz"
)
sha256sums=("9c720d92968ff9a46a67f585ab2f77ae423ec5096d7b55e8d1b8bdd18c2b0a3f")
build() {
cd $srcdir/$pkgname
make clean
make MODE=release build
}
check() {
cd $srcdir/$pkgname
make lint
make test
}
package() {
cd $srcdir/$pkgname
mkdir -p $pkgdir/usr/bin
cp -a bash/ministore $pkgdir/usr/bin
mkdir -p $pkgdir/usr/lib/ministore
cp -a bash/functions.sh $pkgdir/usr/lib/ministore
cp -a bash/git-functions.sh $pkgdir/usr/lib/ministore
mkdir -p $pkgdir/usr/lib/git-core
cp -a bash/git-credential-ministore $pkgdir/usr/lib/git-core
mkdir -p $pkgdir/usr/share/ministore/samples
cp -ar samples/* $pkgdir/usr/share/ministore/samples
}
|