diff options
author | Antonio Rojas | 2023-04-01 19:43:23 +0200 |
---|---|---|
committer | Antonio Rojas | 2023-04-01 19:43:23 +0200 |
commit | f817421c9a2d9575a7a3b54c674b658190328ccd (patch) | |
tree | c6d107bf5b0a668eba37b3cb6dcbab51b1d58e18 | |
download | aur-f817421c9a2d9575a7a3b54c674b658190328ccd.tar.gz |
import from community
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..45d18f297fb5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = ttyload + pkgdesc = A color-coded console load graph. + pkgver = 0.5.3 + pkgrel = 3 + url = https://www.daveltd.com/src/util/ttyload/ + arch = x86_64 + license = custom + depends = glibc + source = https://www.daveltd.com/src/util/ttyload/ttyload-0.5.3.tar.bz2 + sha256sums = 7d3147b22530e6de865279aaad8b9e0348575379413ed1a2d410257baf92d783 + +pkgname = ttyload diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f7a026a94234 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Kyle Keen <keenerd@gmail.com> +# Contributor: Denis Saintilma <1068des@gmail.com> +# Contributor: Steven Susbauer <stupendoussteve@hotmail.com> + +pkgname=ttyload +pkgver=0.5.3 +pkgrel=3 +pkgdesc="A color-coded console load graph." +arch=('x86_64') +url="https://www.daveltd.com/src/util/ttyload/" +license=('custom') +depends=('glibc') +source=(https://www.daveltd.com/src/util/ttyload/$pkgname-$pkgver.tar.bz2) +sha256sums=('7d3147b22530e6de865279aaad8b9e0348575379413ed1a2d410257baf92d783') + +build() { + cd "$srcdir/$pkgname-$pkgver" + # bug added in 0.5.3 + sed -i '10i #include <time.h>' ttyload.h + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + install -D -m755 "$pkgname" "$pkgdir/usr/bin/$pkgname" + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + |