mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 23:06:40 +02:00
33 lines
1.4 KiB
Text
33 lines
1.4 KiB
Text
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
|
|
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
|
|
pkgname=tuptime
|
|
pkgver=5.2.4
|
|
pkgrel=1
|
|
pkgdesc="Report the historical and statistical real time of the system"
|
|
url="https://github.com/rfmoz/tuptime"
|
|
arch="noarch"
|
|
license="GPL-2.0-only"
|
|
depends="python3"
|
|
pkggroups="_tuptime"
|
|
pkgusers="_tuptime"
|
|
install="$pkgname.pre-install $pkgname.pre-upgrade"
|
|
subpackages="$pkgname-doc $pkgname-openrc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/rfmoz/tuptime/archive/refs/tags/$pkgver.tar.gz
|
|
$pkgname.initd
|
|
$pkgname.cron
|
|
"
|
|
options="!check" # no tests
|
|
|
|
package() {
|
|
install -Dm775 src/tuptime -t "$pkgdir"/usr/bin/
|
|
install -Dm755 "$srcdir"/tuptime.cron "$pkgdir"/etc/periodic/15min/$pkgname
|
|
install -Dm755 "$srcdir"/tuptime.initd "$pkgdir"/etc/init.d/tuptime
|
|
install -Dm644 src/man/tuptime.1 -t "$pkgdir"/usr/share/man/man1/
|
|
install -dm755 -o $pkgusers -g $pkggroups "$pkgdir"/var/lib/tuptime/
|
|
}
|
|
|
|
sha512sums="
|
|
d6d5cb8a6b425b02f7d7341bad45c55986ac78546b82d969d333837817bed69d4ccfe1d8d6bea7fada382422c5fa26dc72b0d5bd14fa7ad144e7014444996c99 tuptime-5.2.4.tar.gz
|
|
90141d4e45797de925b84c5dbe474170268a9a370f7f2b9df7f58c0cfe6ba50ddcf1f1efcb6d96e2de40a18dde04708dd856d8b199dec31925c34a92224348e9 tuptime.initd
|
|
959afdc81daf4f3eaf47b5b81c9b8b15b18995da9af88f85591aa8f781dcd8d5ad6f2dc3e7d9e5734f00ecf5c01119666725786cb077f08b9f997016ddccfebe tuptime.cron
|
|
"
|