diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2018-11-22 20:40:54 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2018-11-22 20:40:54 -0800 |
commit | 276160474517301b53fcf06f4808e6f863de41c4 (patch) | |
tree | 4cc31741feb951f3f0d26f6adb6b446fdea762b2 /PKGBUILD | |
download | smartmontools-openrc-276160474517301b53fcf06f4808e6f863de41c4.tar.xz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..504d46c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net> + +# # I maintain this because: +# Artix lacks this init script entirely + +pkgname=smartmontools-openrc +pkgver=20181122 +pkgrel=1 +pkgdesc="OpenRC smartd init script" +arch=('any') +url="https://neueland.iserlohn-fortress.net/gitea/jc_gargma" +license=('GPL2') +groups=('openrc-system') +depends=('openrc' 'smartmontools') +backup=('etc/init.d/smartd') +source=("smartd.initd") +sha256sums=('5cd1aef86de44abc4ce2241eaae57acfbcbfa2acdc411f4d97fb9b23058ee526') + +pkgver() { + date +%Y%m%d +} + +_inst_initd(){ + install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1 +} + +package() { + _inst_initd 'smartd' +} |