blob: d4c294aa4c3267709c0f224ab29802e1d1cd67c1 (
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: jaskir
pkgname=wayle
pkgver=0.1.0
pkgrel=1
pkgdesc="A highly configurable Wayland panel/bar. (early development)"
arch=('x86_64')
url="https://github.com/Jas-SinghFSU/wayle"
license=('GPL-3.0-only')
depends=('gtk4')
makedepends=('git' 'rust' 'cargo')
conflicts=("${pkgname}-git")
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {
cd "${pkgname}-${pkgver}"
cargo build --release --locked
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|