summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 10 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 941a8b4..c5b50c7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,27 +3,23 @@
# # I maintain this because:
# Some sysctl parameters require being set twice to apply
-pkgname=sysctl-v2-openrc
-pkgver=20181217
+_pkgname=sysctl
+_exname=${_pkgname}-repeat
+pkgname=${_pkgname}-openrc-repeat
+pkgver=20190127
pkgrel=1
-pkgdesc="OpenRC sysctl-v2 init script"
+pkgdesc="OpenRC sysctl init script for stubborn sysctl prefs"
arch=('any')
+replaces=('sysctl-v2-openrc')
url="https://neueland.iserlohn-fortress.net/gitea/jc_gargma"
license=('GPL2')
groups=('openrc-system')
depends=('openrc')
-backup=('etc/init.d/sysctl-v2')
-source=("sysctl-v2.initd")
+source=(
+ "${_exname}.initd"
+ )
sha256sums=('ed64389a37ad710aede890084d5e6886a807622f6eae341d32ab9fdda6f850a7')
-#pkgver() {
-# date +%Y%m%d
-#}
-
-_inst_initd(){
- install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1
-}
-
package() {
- _inst_initd 'sysctl-v2'
+ install -Dm755 ${srcdir}/${_exname}.initd ${pkgdir}/etc/init.d/${_exname}
}