blob: 80e57ada30b13a115491294e5dc187358a593c89 (
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
|
# Maintainer: ZenithCrow <martin-vlcek@post.cz>
pkgname=derg-clock-popup
pkgver=1.0.4
pkgrel=2
pkgdesc="An animated popup window telling the current time"
arch=('x86_64' 'aarch64')
url="https://github.com/ZenithCrow/derg-clock-popup"
license=('MIT' 'CC-BY')
depends=(
'sdl3'
'sdl3_ttf'
'sdl3_image'
'glibc'
)
makedepends=('zig')
source=("$pkgname-$pkgver.tar.gz::https://github.com/ZenithCrow/derg-clock-popup/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('3794165d424a0b5ec1bcfffd941dddf1793443f62456e013cf7f8442a63b563d')
build() {
cd "$srcdir/$pkgname-$pkgver"
DESTDIR=build zig build --release=safe --prefix "/usr"
}
package() {
cd "$srcdir/$pkgname-$pkgver"
cp -a build/* "$pkgdir/usr"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}
|