blob: eecda9999cb7594982a5dcb88aad6b317cc403c2 (
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
53
54
55
|
# Maintainer: Scott Hansen (firecat53) tech at firecat53 dot net
_pkgname=keepmenu
_gitname=keepmenu
pkgname=$_pkgname-git
pkgver=r326.a3ff393
pkgrel=1
pkgdesc="Dmenu/Rofi frontend for Keepass databases."
arch=('any')
url="https://github.com/firecat53/keepmenu"
license=('GPL-3.0-only')
depends=('python' 'python-pykeepass')
makedepends=('git' 'python-build' 'python-installer' 'python-hatchling')
optdepends=('python-pynput: autotyping with the default type_library'
'dmenu: dmenu backend'
'bemenu: bemenu backend'
'fuzzel: fuzzel backend'
'wmenu: wmenu backend'
'rofi: rofi backend'
'wofi: wofi backend'
'yofi: yofi backend'
'tofi: tofi backend'
'xdotool: required for typing non-U.S. Unicode characters'
'wtype: required for typing non-U.S. Unicode characters'
'ydotool: required for typing non-U.S. Unicode characters'
'pinentry: secure passphrase entry'
'xsel: clipboard support (X11)'
'xclip: clipboard support (X11)'
'wl-clipboard: clipboard support (Wayland)')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+https://github.com/firecat53/$_gitname.git")
md5sums=('SKIP')
install="$_pkgname.install"
prepare() {
git -C "$_gitname" clean -dfx
}
pkgver() {
cd "$_gitname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_gitname"
python -m build --wheel --no-isolation
}
package() {
cd "$_gitname"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 "$srcdir/$_gitname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|