blob: 8c2341cb34bc31a69d95861d363ea5fd9c40e2b8 (
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: OGIOS <ogios@foxmail.com>
_pkgname=way-edges
pkgname=way-edges-bin
pkgver=0.2.4
pkgrel=1
pkgdesc="Hidden widget on screen edges"
arch=('x86_64' 'aarch64')
url="https://github.com/way-edges/way-edges"
license=('MIT')
provides=("$_pkgname")
conflicts=("$_pkgname"-git)
depends=('gtk4' 'gtk4-layer-shell' 'cairo' 'pango' 'wayland' 'glib2' 'pipewire-pulse' 'libpulse')
_repo=way-edges/way-edges
_tar_name="$_pkgname"_linux-x86_64.tar.gz
_tar_rename="$pkgname"-"$pkgver"-"$pkgrel".tar.gz
_bash_complete=$_pkgname
source=("$_tar_rename"::https://github.com/"$_repo"/releases/download/"$pkgver"/"$_tar_name"
https://raw.githubusercontent.com/"$_repo"/"$pkgver"/LICENSE
"$_bash_complete"::https://raw.githubusercontent.com/way-edges/way-edges/refs/heads/master/way-edges-bash-complete.bash)
sha256sums=('SKIP' 'SKIP' 'SKIP')
options=(!debug)
build() {
tar -zxf "$_tar_rename"
}
package() {
install -Dm755 "target/release/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENCE"
# bash completion
mkdir -p "$pkgdir"/usr/share/bash-completion/completions/
install -m 0644 $_bash_complete "$pkgdir"/usr/share/bash-completion/completions/$_bash_complete
}
|