blob: dcbf48cc2b4467615b073dc613c06265b928e101 (
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
|
# Maintainer: Frosty <frosty@archtide.space>
pkgname=sandscreen
pkgver=1.0.1
pkgrel=1
pkgdesc="Terminal screensaver built on ncurses"
arch=(x86_64)
url="https://github.com/frostyarchtide/sandscreen"
license=("MIT")
depends=()
makedepends=(cmake)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/frostyarchtide/sandscreen/archive/v${pkgver}.tar.gz")
sha256sums=("dfd4c2e57a43b2694843e4ff58bff36886d2ea11343a0a75981aac4e8229ee03")
build() {
cd "${pkgname}-${pkgver}"
cmake -B build -S .
cmake --build build
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
cd build
install -Dm755 sandscreen "${pkgdir}/usr/bin/sandscreen"
}
|