blob: a190a4ebdafbe6f5a4f9b11578e944a5ca195d95 (
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
|
# Maintainer: Andrea Feletto <andrea@andreafeletto.com>
pkgname=river-levee
_pkgname=levee
pkgver=0.1.3
pkgrel=1
pkgdesc='Statusbar for the river wayland compositor.'
arch=('x86_64')
url='https://sr.ht/~andreafeletto/levee'
license=('MIT')
depends=('wayland' 'fcft' 'pixman' 'libpulse')
makedepends=('zig' 'git' 'wayland-protocols')
provides=('levee')
conflicts=('river-levee-git')
source=("https://git.sr.ht/~andreafeletto/$_pkgname/refs/download/v$pkgver/$_pkgname-$pkgver.tar.gz")
sha256sums=('09a89f85beb4766f49186ef017c5757a7d2264858565f1b96b80d9eda3ba2a45')
build() {
cd "$srcdir/$_pkgname-$pkgver"
zig build -Drelease-safe
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
DESTDIR="$pkgdir" zig build -Drelease-safe --prefix '/usr'
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
}
|