Browse Source

Initial Commit

master
linuxer 1 year ago
commit
65d8aa31e5
Signed by: linuxer
GPG Key ID: CCD2779140DF9E58
  1. 31
      PKGBUILD
  2. 3
      zramen.finish
  3. 3
      zramen.run
  4. 1
      zramen.type

31
PKGBUILD

@ -0,0 +1,31 @@
# Contributor: linuxer <linuxer@artixlinux.org>
# Developer: Timofey Titovets <nefelim4ag@gmail.com>
pkgname=zramen-s6
pkgdesc="Zramen and OpenRC init scripts"
alias=zramen
pkgver=0.2.1
pkgrel=1
arch=('any')
url="https://gitea.artixlinux.org/linuxer/PKGBUILDS/zramen-s6"
arch=('any')
url="https://github.com/Nefelim4ag/Ananicy.git"
license=('Unlicense')
depends=('s6' 'bc')
source=("https://github.com/atweiden/zramen/releases/download/${pkgver}/zramen-${pkgver}.tar.gz"
"zramen.type"
"zramen.run"
"zramen.finish")
b2sums=('1c8d69609fb311ce566b3120af11d16a633f1c64c2104df80dd3fbf22e1f41a609bb53420d4c3fc1e9393d887647d1f6a6a0e3609a022787b3cf0d1fd4200886'
'cdcdfdfe8033b1b2ac812951b70b09b115c1d7b7de4ed0ea0808072414753faf98ca846a171f22ab788cc9e1564456354f953941d4fba8056bc650f41dcde8dc'
'0c2ba1bcb5a07553dc0f04f8780a5dae93aafcd06fb460852c2a6c1403a8ebaab6d09f1b07338926523341fc17fe0cff6db3d755f8a4200a77ff003c53614b35'
'a8c1eb7798e11ec231cc2c587631d73dda99f978fc331dbca48f3f78b82b273542534ad010ee96b1a7110d3dfa86961f12ab6e2320b508190e74dcf2d89c9a9d')
package() {
mkdir -p "$pkgdir/etc/s6/sv/$_alias"
cp zramen.run $pkgdir/etc/s6/sv/$_alias/run
cp zramen.type $pkgdir/etc/s6/sv/$_alias/type
cp zramen.finish $pkgdir/etc/s6/sv/$_alias/finish
cd "${srcdir}/${_alias}-${pkgver}"
install -Dm 755 sv/zramen/conf "$pkgdir/etc/conf.d/zramen.conf"
}

3
zramen.finish

@ -0,0 +1,3 @@
#!/bin/sh
exec /usr/bin/zramen toss

3
zramen.run

@ -0,0 +1,3 @@
#!/bin/sh
exec /usr/bin/zramen make

1
zramen.type

@ -0,0 +1 @@
oneshot
Loading…
Cancel
Save