blob: 31ec20ce7de9d43c28efe235bc8eee76b7497b58 (
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
|
# Maintainer: DeedleFake <deedlefake@users.noreply.github.com>
pkgname=ptt-fix
pkgver=0.2.3
pkgrel=1
pkgdesc="A somewhat hacky workaround for push-to-talk in Discord and other apps in Wayland."
arch=(i686 x86_64)
url="https://github.com/DeedleFake/ptt-fix"
license=('MIT')
depends=(xdotool)
makedepends=('go>=2:1.20')
optdepends=()
provides=()
source=("https://github.com/DeedleFake/ptt-fix/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('6713803959738f04a9138d7a3e2b9e39072d1e49bf256aaf896e2ab1a7600d17')
build() {
cd "$pkgname-$pkgver"
go build -v -x -trimpath -o ptt-fix .
}
package() {
cd "$pkgname-$pkgver"
install -D ptt-fix "$pkgdir/usr/bin/ptt-fix"
}
# vim: ts=2 sw=2 et
|