diff options
author | linuxer | 2020-08-26 15:28:17 +0300 |
---|---|---|
committer | linuxer | 2020-08-26 15:28:17 +0300 |
commit | 274a5cb23d93176335a5f41e7366f56964705bbf (patch) | |
tree | e37c4cc09d910ced533ead6ec49b21b9c7bf86d4 /PKGBUILD | |
download | aur-274a5cb23d93176335a5f41e7366f56964705bbf.tar.gz |
Initial Commint
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6ab1b808e220 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Contributor linuxer <linuxer@artixlinux.org> + +pkgname=swap-runit +pkgalias=runit-swap +_realname=runit-swap +pkgdesc="Runit swap service" +alias=runit-swap +pkgver=2.0.0 +pkgrel=1 +pkgbase=swap-runit +replaces=('runit-swap') +arch=('any') +url="https://aur.archlinux.org/packages/swap-runit" +license=('GPL3') +groups=() +depends=('runit' 'util-linux>=2.26') +source=("https://github.com/thypon/runit-swap/archive/v${pkgver}.tar.gz") +sha256sums=('SKIP') + +package() { + cd "${srcdir}/${alias}-${pkgver}" + install -Dm 755 runit-swap -t "$pkgdir/usr/bin/" + mkdir -p "$pkgdir"/etc/runit/sv/swap-runit + install -Dm 644 swap/run "$pkgdir"/etc/runit/sv/swap-runit + install -Dm 644 swap/finish "$pkgdir"/etc/runit/sv/swap-runit +} |