summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 94852e81eefda59abc4b69a5eb93ce71e22de71d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Dennis Stengele <d.stengele (at) derintendant (dot) de>
pkgname=tuptime
pkgver=3.2.01
pkgrel=1
pkgdesc="Report the historical and statistical running time of system"
arch=('any')
url="https://github.com/rfrail3/tuptime"
license=('GPL')
groups=()
depends=(	'python2'
			'cron')
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("	$pkgname-$pkgver.tar.gz::https://github.com/rfrail3/tuptime/archive/v$pkgver.tar.gz")
noextract=()
sha256sums=('330fbb7f9163fd1ec1c139a3e7652f86ddd2987f3e94e3b481f1a3f3e3da64c2')

package() {
	cd "$srcdir/$pkgname-$pkgver"
	
	install -Dm755 "latest/tuptime" "$pkgdir/usr/bin/tuptime"
	install -Dm644 "latest/systemd/tuptime.service" "$pkgdir/usr/lib/systemd/system/tuptime.service"
	install -Dm644 "latest/cron.d/tuptime" "$pkgdir/etc/cron.d/tuptime"
}