diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-01-28 00:08:07 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-01-28 00:08:07 -0800 |
commit | d5fa083d689df727206e6c87f604212e9dcc4811 (patch) | |
tree | 023d22d42d591646d53ebbf63a6e457106809b5e /PKGBUILD | |
parent | Commented out needless date code | Removed conf function (diff) | |
download | sysctl-openrc-repeat-d5fa083d689df727206e6c87f604212e9dcc4811.tar.xz |
Simplified PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 10 insertions, 14 deletions
@@ -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} } |