summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoel Kuntze2018-06-26 13:28:09 +0200
committerNoel Kuntze2018-06-26 13:28:09 +0200
commit2fd4c792866c6fdf1e2c970a5e9b2d0d90b8b6e4 (patch)
treef58f41df39a25a939533b5a8d9aea38ad1d4e961
parenta7ff144026169b8e8be88ffd3a13891e5eaa9dbb (diff)
downloadaur-verynice.tar.gz
Quote all variables in package(), use mode 644 for service file, bump pkgrel
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD18
2 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ca2d72426ad..6f4e003b8d9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Jun 26 11:23:18 UTC 2018
+# Tue Jun 26 11:26:59 UTC 2018
pkgbase = verynice
pkgdesc = A tool for dynamically adjusting the nice level of processes under UNIX-like operating systems.
pkgver = 1.1
- pkgrel = 14
+ pkgrel = 15
url = http://thermal.cnde.iastate.edu/~sdh4/verynice/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 1de046b6112..d61078e521c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,30 +3,30 @@
pkgname=verynice
pkgver=1.1
-pkgrel=14
+pkgrel=15
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")
+backup=("etc/${pkgname}.conf")
-source=("https://fossies.org/linux/misc/old/$pkgname-$pkgver.tar.gz"
- "$pkgname.service")
+source=("https://fossies.org/linux/misc/old/${pkgname}-$pkgver.tar.gz"
+ "${pkgname}.service")
sha256sums=('5830fd4ac14ba3677e49159adbb7cd61e3d42d1f0b9aa73e4ed0aa154af6cd8d'
'26ebaae3a1f7d05d69e638b53c9555f2a7212ccf8b00f66db8add374808a5b65')
build() {
- cd "$srcdir"/$pkgname/
+ cd "${srcdir}/${pkgname}/"
make
}
package() {
- cd "$srcdir"
+ 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
+ install -D -m755 "${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -D -m644 "${pkgname}/${pkgname}.conf" "${pkgdir}/etc/${pkgname}.conf"
+ install -D -m644 "${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
}