blob: d05ccd4a14a01d07a402a8604c88bfb19c3bf422 (
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
|
# Maintainer : Frikilinux <frikilinux@gmail.com>
pkgname=salut
pkgver=0.3.1
pkgrel=1
pkgdesc="An animated mouse centric notification daemon made with snui."
arch=(x86_64)
url="https://gitlab.com/snakedye/salut"
license=(MPL2)
source=("${url}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
depends=('libxkbcommon' 'fontconfig')
install=${pkgname}.install
makedepends=(rust)
sha256sums=('13b81259ece16f7146097bd79fad867623ead8a0521cd28837b452b31d91194e')
build() {
cd "${pkgname}-v${pkgver}"
cargo build --release
}
check() {
cd "${pkgname}-v${pkgver}"
cargo test --release
}
package() {
install -Dm755 "${pkgname}-v${pkgver}/target/release/salut" \
"${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${pkgname}-v${pkgver}/config/config.ini" \
"${pkgdir}/usr/share/doc/salut/config.ini"
}
|