diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-09-27 19:41:05 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-09-27 19:41:05 -0500 |
commit | e8d1a92e2fd63c5c24df5ad08907b1cd4976f1dc (patch) | |
tree | 9f40abd5863f6272b0f62e4fe50b2632a3fe9bd5 /pcr/openrc-video | |
parent | 6bb2a7c627b989ccc6a55e0688251c5433969dce (diff) | |
download | abslibre-e8d1a92e2fd63c5c24df5ad08907b1cd4976f1dc.tar.gz abslibre-e8d1a92e2fd63c5c24df5ad08907b1cd4976f1dc.tar.bz2 abslibre-e8d1a92e2fd63c5c24df5ad08907b1cd4976f1dc.zip |
openrc-video-20170927-1: updating version
Diffstat (limited to 'pcr/openrc-video')
-rw-r--r-- | pcr/openrc-video/PKGBUILD | 16 |
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(){ |