blob: da934abcd0dcd1458f8a78b2285c82e24a6d3798 (
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
|
# Maintainer: Greg Minshall <minshall at umich dot edu>
pkgname=tpopup
pkgver=0.3.0
pkgrel=1
pkgdesc="simple popup with text from file or command line (Qt6)"
arch=(any)
url="https://sr.ht/~minshall/tpopup/"
license=('MIT')
depends=('python>=3.10' 'python-pyqt6' 'python-tomli' 'python-pyxdg')
makedepends=('asciidoc' 'emacs' 'git' 'python-build' 'python-installer')
# git rev-parse ${pkgver} [copy from above] in upstream repo:
# git rev-parse x.y.z
_tag=9769e4386ba59586312f226c1f715517e1443024
source=(git+https://git.sr.ht/~minshall/tpopup#tag=${_tag}?signed)
validpgpkeys=(
BB68C8D3A3D23B9B398FB50AC397C74C54A9EC4F # Greg Minshall <minshall@acm.org>
)
sha256sums=('SKIP')
pkgver() {
cd "${pkgname}"
git describe
}
build() {
cd "${pkgname}"
make pythonbuild
}
check() {
cd "${pkgname}"
}
package() {
cd "${pkgname}"
make DESTDIR="${pkgdir}" PREFIX=/usr pythoninstall
# install our MIT license
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}
|