blob: 4fab603199c1f39d3cb32dad92c017c036663a13 (
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
|
# Maintainer: BinaryHarbinger <halilefeesen@proton.me>
_pkgauthor=BinaryHarbinger
_pkgname=riftbar
pkgname=${_pkgname}-bin
pkgver=0.2.0
pkgrel=0
_pkgvername=v${pkgver}
pkgdesc='Highly customizable GTK4 bar for Wayland written in Rust'
arch=('x86_64')
url="https://github.com/${_pkgauthor}/${_pkgname}"
license=('GPL-3.0')
provides=("riftbar")
conflicts=("riftbar" "riftbar-git" "riftbar-git-debug")
depends=(
'gtk4'
'gtk4-layer-shell'
'wayland'
)
# Binary + license + readme
source=(
"riftbar::https://codeberg.org/${_pkgauthor}/${_pkgname}/releases/download/${_pkgvername}/riftbar-x86_64"
"LICENSE::https://codeberg.org/${_pkgauthor}/${_pkgname}/raw/tag/${_pkgvername}/LICENSE"
"README.md::https://codeberg.org/${_pkgauthor}/${_pkgname}/raw/tag/${_pkgvername}/README.md"
)
sha256sums=('83e74e027e37d06000b816d40aec04b89d38c71abe65292e47bbc5eb5f8aae1c'
'SKIP'
'SKIP')
package() {
cd "${srcdir}" || exit 1
# Binary
install -Dm755 "riftbar" "${pkgdir}/usr/bin/riftbar"
# License ve README
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}
|