summaryrefslogtreecommitdiff
path: root/pcr/openrc-video/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/openrc-video/PKGBUILD')
-rw-r--r--pcr/openrc-video/PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/pcr/openrc-video/PKGBUILD b/pcr/openrc-video/PKGBUILD
index 2831422b8..0566b3fc3 100644
--- a/pcr/openrc-video/PKGBUILD
+++ b/pcr/openrc-video/PKGBUILD
@@ -1,14 +1,19 @@
-# Maintainer (Arch): artoo <artoo@manjaro.org>
+# Maintainer (Artix): artoo <artoo@cromnix.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
_url="https://raw.githubusercontent.com/gentoo/gentoo/master"
+_sed_args=(-e 's|/var/run|/run|g' -e 's|/usr/sbin|/usr/bin|g')
+prefix=true
+
+$_prefix && _sed_args+=(-e 's|#!/sbin/openrc-run|#!/usr/bin/openrc-run|g')
+
pkgbase=openrc-video
pkgname=('virtualgl-openrc')
-pkgver=20170314
-pkgrel=1.parabola2
+pkgver=20170927
+pkgrel=1
arch=('any')
-url="https://github.com/manjaro/packages-openrc"
+url="https://github.com/artix-linux"
license=('GPL')
groups=('openrc-video')
source=("vgl.confd::${_url}/x11-misc/virtualgl/files/vgl.confd-r2"
@@ -25,8 +30,7 @@ pkgver() {
_inst_initd(){
install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1
- sed -e 's|/var/run|/run|g' \
- -i ${pkgdir}/etc/init.d/$1
+ sed ${_sed_args[@]} -i ${pkgdir}/etc/init.d/$1
}
_inst_confd(){