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 | |
download | aur-274a5cb23d93176335a5f41e7366f56964705bbf.tar.gz |
Initial Commint
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c8746ba5fb63 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = swap-runit + pkgdesc = Runit swap service + pkgver = 2.0.0 + pkgrel = 1 + url = https://aur.archlinux.org/packages/swap-runit + arch = any + license = GPL3 + depends = runit + depends = util-linux>=2.26 + replaces = runit-swap + source = https://github.com/thypon/runit-swap/archive/v2.0.0.tar.gz + sha256sums = SKIP + +pkgname = swap-runit + 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 +} |