Commit a2d91dfd authored by Leo's avatar Leo

testing/tuptime: upgrade to 4.1.0

parent 4de0f526
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=tuptime
pkgver=3.4.2
pkgrel=4
pkgver=4.1.0
pkgrel=0
pkgdesc="Report the historical and statistical real time of the system"
url="https://github.com/rfrail3/tuptime"
arch="noarch"
......@@ -11,18 +11,16 @@ depends="python3"
install="$pkgname.pre-install $pkgname-openrc.post-install"
subpackages="$pkgname-doc $pkgname-openrc"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/rfrail3/$pkgname/archive/$pkgver.tar.gz
source="$pkgname-$pkgver.tar.gz::https://github.com/rfrail3/tuptime/archive/$pkgver.tar.gz
$pkgname.cron"
builddir="$srcdir/$pkgname-$pkgver"
package() {
cd "$builddir"
install -Dm775 "src/$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm755 "$srcdir/$pkgname.cron" "$pkgdir"/etc/periodic/15min/$pkgname
install -Dm644 "src/man/$pkgname.1" "$pkgdir/usr/share/man/man1/$pkgname.1"
install -Dm755 "src/openrc/$pkgname" "$pkgdir/etc/init.d/$pkgname"
}
sha512sums="c90e11a7d5dbee83325d4793316ccfa46b3f5ebe0914b6100757412b92446367070dca25b7fed3f4b7d8f08565dfc7c4e4e4027206b9dcfbb5b8942d36d94938 tuptime-3.4.2.tar.gz
sha512sums="2811f2bf659bc1af3656230f87477a939ec22c3caa9283f7063e9e9c8ea2497f3c3581c3b7eb63cef15ce29d73f34d44c72fde4d2681f50021b4eb8986e0c812 tuptime-4.1.0.tar.gz
d3a3f7820c2fbbc3a13412740934b5b62af462c35a9354a2f0d16b76500a406ea86dbec2cf368a24191df6c0221a8e6efff0dbf3e635af854cbe84eb6fe5630e tuptime.cron"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment