mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/ud: new aport
This commit is contained in:
parent
cf7c91ac63
commit
e3e94180c6
27
testing/ud/APKBUILD
Normal file
27
testing/ud/APKBUILD
Normal file
@ -0,0 +1,27 @@
|
||||
# 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"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/xyproto/ud/archive/refs/tags/v$pkgver.tar.gz"
|
||||
|
||||
build() {
|
||||
cmake -B build -S .
|
||||
make -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
./build/ud --version
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm0755 "$builddir"/build/ud "$pkgdir"/usr/bin/ud
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
7c3777405a67014ee46e1e0c3c61332adc21e5e4760a7ad4ad61f9a55387896112b338dd0624db115cb4fb33fe830ee91ca7c85712bd4faa70f216e908fba965 ud-1.1.0.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user