# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> # Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> pkgname=uptimed pkgver=0.4.3 pkgrel=0 pkgdesc="System uptime record daemon" arch="all" options="!check" # No test suite. url="https://github.com/rpodgorny/uptimed" license="GPL-2.0-only" depends="" makedepends="autoconf automake libtool" subpackages="$pkgname-doc $pkgname-openrc" source="$pkgname-$pkgver.tar.gz::https://github.com/rpodgorny/uptimed/archive/v$pkgver.tar.gz uptimed.init " build() { autoreconf -vif ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man make } package() { make install DESTDIR="$pkgdir" mv "$pkgdir"/etc/uptimed.conf-dist \ "$pkgdir"/etc/uptimed.conf install -Dm755 "$srcdir"/uptimed.init \ "$pkgdir"/etc/init.d/uptimed } sha512sums="f9485224dfe7173bab135a87b047d749f9b61d3c29d50523126b585ae77e68837680fdb725a08fd7cad39f0b35b2da7a6923b8540700881f9638286ab5082260 uptimed-0.4.3.tar.gz 0884e9f5ace5a69b8eea4401c7f3b84f0a434f0ceb2b920919e83f318eb9e54182932de174cf1666ddddbab84c146781f3dd78571e80cc274963a72bf4f53a6b uptimed.init"