# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=sntpc pkgver=0.9 pkgrel=11 pkgdesc="Simple NTP client" options="!check" # No testsuite url="https://git.alpinelinux.org/cgit/hosted/sntpc/" arch="all" license="GPL-2.0-only" subpackages="$pkgname-openrc" source="https://dev.alpinelinux.org/archive/sntpc/sntpc-$pkgver.tar.xz format-security.patch gcc-10.patch sntpc.initd sntpc.confd " build() { make } package() { install -m755 -D sntpc "$pkgdir"/usr/sbin/sntpc install -m755 -D "$srcdir"/sntpc.initd "$pkgdir"/etc/init.d/sntpc install -m644 -D "$srcdir"/sntpc.confd "$pkgdir"/etc/conf.d/sntpc } sha512sums=" c18bb0da4b7804bcbb81da65dd4ab6de4288d2475c441a7b1246631d2500b474d4e95e60cc7752762fb092b49bb6c9fd5e5290c69e247293b3e094e45d18f76d sntpc-0.9.tar.xz d70f0360aad0ab759a0d8eb3595347a0b8298d307a0a047c8ec357e0f7e08c3e09b7ec4b51215846ffd6cba12a0f80c5e811af6bb8051e8ceb9178eb0e926948 format-security.patch f8f6801f5eb3da257f60a1cb97aed52816226638d7ddb850864a8ebfd76355ba6c9c0fb8921dc10422bb68c782489fac107c776e84feb9ff20b5b4bfda25ec09 gcc-10.patch 7f48bb5be6e8cbebfc9c6d63f1dc1dd1bf51e4a5d3aa66fcffde27a4c41528a47f6a8ccfe6da054edf1025ae75b204de12e6852e4b321c4c0435d80c439607bb sntpc.initd 2fcb7d45f4c6588fd5281c02161a4aebb7e0a9d259a2ac3aa6c3187617dc7029f05fbebbb227feace61cc706e37ca0acb18b0019a67c674c444498fd289a9975 sntpc.confd "