blob: d7be7ecd9b5d1ea44613c786cf08e85e29be9a1e (
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
|
#Maintainer: mumi jim <echo "=02bj5yav9Gb0V3bA1Waq9VatVXb" | rev | base64 -d>
# Contributor: Klaus Alexander Seistrup <$(echo 0x1fd+d59decfa=40 | tr 0-9+a-f=x ka-i@p-u.l)>
#Thanks Klaus Alexander Seistrup :)
#this PKGBUILD of Keypunch
#github Repo: https://github.com/bragefuglseth/keypunch/
pkgname="keypunch-git"
_appname="keypunch"
pkgver=6.2.r8.g77f9956
pkgrel=1
epoch=1
pkgdesc='Practice your typing skills'
url='https://github.com/bragefuglseth/keypunch'
arch=('aarch64' 'x86_64')
license=('GPL-3.0-or-later')
provides=('keypunch')
conflicts=('keypunch')
depends=('gtk4' 'libadwaita')
makedepends=('blueprint-compiler' 'cargo' 'git' 'meson' 'ninja')
source=("git+${url}.git")
sha512sums=('SKIP')
pkgver() {
cd "${_appname}/"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${_appname}/"
export RUSTUP_TOOLCHAIN=stable
arch-meson . build
meson compile -C build
}
package() {
cd "${_appname}/"
meson install -C build --destdir "$pkgdir"
}
|