diff options
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..e547b42c72bd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: EMPTY <testerthe60@gmail.com> +pkgname=portmaster-runit +pkgver=0.7.0 +pkgrel=1 +pkgdesc="Portmaster runit service (does not include portmaster itself)" +arch=("any") +url="https://github.com/0x454d505459/portmaster-runit.git" +license=('GPLv3') +groups=() +# depends=("portmaster") +source=("$pkgname-$pkgver.tar.gz::https://codeload.github.com/0x454d505459/portmaster-runit/tar.gz/refs/tags/$pkgver") +md5sums=("9f4b814f44d7ccb4c09f929055d256c7") + +package() { + cd "$pkgname-$pkgver" + install -D -d "$pkgdir/etc/runit/sv/portmaster" + cp -a run "$pkgdir/etc/runit/sv/portmaster/" + msg """For the service to be available threw sv you need to link it first +using the following command: + +sudo ln -s /etc/runit/sv/portmaster /run/runit/service/portmaster + +You can now start it using sv: +sv up portmaster +""" +} |