mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 04:44:57 +02:00
27 lines
637 B
Text
27 lines
637 B
Text
# Maintainer: omni <omni+alpine@hack.org>
|
|
pkgname=ud
|
|
pkgver=1.1.0
|
|
pkgrel=0
|
|
pkgdesc="The UNIX day utility"
|
|
url="https://github.com/xyproto/ud"
|
|
license="BSD-3-Clause"
|
|
arch="all"
|
|
makedepends="cmake samurai"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/xyproto/ud/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja -S .
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
./build/ud --version
|
|
}
|
|
|
|
package() {
|
|
install -Dm0755 "$builddir"/build/ud "$pkgdir"/usr/bin/ud
|
|
}
|
|
|
|
sha512sums="
|
|
7c3777405a67014ee46e1e0c3c61332adc21e5e4760a7ad4ad61f9a55387896112b338dd0624db115cb4fb33fe830ee91ca7c85712bd4faa70f216e908fba965 ud-1.1.0.tar.gz
|
|
"
|