blob: 4e27ce1ddd4cb616a25b910b2338f05d1fe12e55 (
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: Andrea Feletto <andrea@andreafeletto.com>
pkgname=buongiorno
pkgver=0.1.1
pkgrel=1
pkgdesc='Modal TUI greeter for greetd.'
arch=('x86_64')
url='https://sr.ht/~andreafeletto/buongiorno'
license=('GPL3')
depends=('greetd')
makedepends=('zig')
conflicts=('buongiorno-git')
source=("https://git.sr.ht/~andreafeletto/$pkgname/refs/download/v$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('6678958a7bcc511723182f1d6d2a0260fd7307f70f572b2b881a04449e14f568')
build() {
cd "$srcdir/$pkgname-$pkgver"
zig build -Drelease-safe -Dsystemd
}
package() {
cd "$srcdir/$pkgname-$pkgver"
DESTDIR="$pkgdir" zig build -Drelease-safe -Dsystemd --prefix '/usr'
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
}
|