blob: 8e60a7ad45c9525464a9c2db00b7e45eb5ba29d2 (
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
|
# Maintainer: Antoine POPINEAU <antoine at popineau dot eu>
pkgname=greetd-tuigreet-git
pkgver=0.9.1.r0.g86bf7bb
pkgrel=0
pkgdesc='A console UI greeter for greetd'
url='https://github.com/apognu/tuigreet'
license=(GPL3)
conflicts=(greetd-tuigreet greetd-tuigreet-bin)
arch=(x86_64)
makedepends=(git rust scdoc)
source=("git+${url}"
'tuigreet.conf')
sha256sums=('SKIP'
'8f83aee7874aab5d06981a1d1cd05df906368a79dbca90d157a33a2f023b67d3')
pkgver() {
cd tuigreet
git describe --long | sed 's/-/.r/;s/-/./'
}
build() {
cd tuigreet
cargo build --release
scdoc < contrib/man/tuigreet-1.scd > contrib/man/tuigreet-1.roff
}
package() {
depends=(gcc-libs)
install -Dm755 "${srcdir}/tuigreet/target/release/tuigreet" "${pkgdir}/usr/bin/tuigreet"
install -Dm755 "${srcdir}/tuigreet/contrib/man/tuigreet-1.roff" "${pkgdir}/usr/share/man/man1/tuigreet.1"
install -Dm644 "${srcdir}/tuigreet/LICENSE" "${pkgdir}/usr/share/licenses/tuigreet/LICENSE"
install -Dm644 "${srcdir}/tuigreet.conf" "${pkgdir}/usr/lib/tmpfiles.d/tuigreet.conf"
}
|