diff options
author | Thermi | 2015-11-25 15:50:52 +0100 |
---|---|---|
committer | Thermi | 2015-11-25 15:50:52 +0100 |
commit | 35238ac30bd3b05104efb0686d54e7cd0d803802 (patch) | |
tree | b3061c826a8ad9d706a828ba548fd642d929eca7 | |
download | aur-35238ac30bd3b05104efb0686d54e7cd0d803802.tar.gz |
verynice: Initial commit.
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rw-r--r-- | verynice.service | 10 |
3 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e7421fbe27de --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = verynice + pkgdesc = A tool for dynamically adjusting the nice level of processes under UNIX-like operating systems. + pkgver = 1.1 + pkgrel = 14 + url = http://thermal.cnde.iastate.edu/~sdh4/verynice/ + arch = i686 + arch = x86_64 + license = GPL + depends = bash + backup = etc/verynice.conf + source = http://fossies.org/linux/misc/old/verynice-1.1.tar.gz + source = verynice.service + md5sums = fb00b79779a30df2c03916181c873545 + md5sums = dd2aee4e833c9f668e10c894c6c4d189 + +pkgname = verynice + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5a4ba97bef8a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Noel Kuntze <noel at familie dash kuntze dot de> +# Contributor: Lucas Salies Brum <lucas@archlinux.com.br> + +pkgname=verynice +pkgver=1.1 +pkgrel=14 +pkgdesc="A tool for dynamically adjusting the nice level of processes under UNIX-like operating systems." +url="http://thermal.cnde.iastate.edu/~sdh4/verynice/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('bash') +backup=("etc/$pkgname.conf") + +source=("http://fossies.org/linux/misc/old/$pkgname-$pkgver.tar.gz" + "$pkgname.service") + +sha256sums=('5830fd4ac14ba3677e49159adbb7cd61e3d42d1f0b9aa73e4ed0aa154af6cd8d' + '26ebaae3a1f7d05d69e638b53c9555f2a7212ccf8b00f66db8add374808a5b65') + +build() { + cd "$srcdir"/$pkgname/ + + make +} + +package() { + cd "$srcdir" + + install -D -m755 $pkgname/$pkgname "$pkgdir"/usr/bin/$pkgname + install -D -m644 $pkgname/$pkgname.conf "$pkgdir"/etc/$pkgname.conf + install -D -m755 $pkgname.service "$pkgdir"/usr/lib/systemd/system/$pkgname.service +} diff --git a/verynice.service b/verynice.service new file mode 100644 index 000000000000..ebf44bdac5b2 --- /dev/null +++ b/verynice.service @@ -0,0 +1,10 @@ +[Unit] +Description=A tool for dynamically adjusting the nice-level of processes + +[Service] +Type=forking +PIDFile=/var/run/verynice.pid +ExecStart=/usr/bin/verynice -d /var/run/verynice.pid + +[Install] +WantedBy=multi-user.target |