summaryrefslogtreecommitdiff
path: root/pcr/openrc-video
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-19 18:19:53 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-19 18:19:53 -0500
commitf6c0037c042f7afb0fce5eb5a52b556e58345c7f (patch)
tree7d9db13ebb36800b6f9a144d0b8bda6b4f0886c1 /pcr/openrc-video
parentd15f30b18fed94d7fc6487b9d33c5e2057d614cd (diff)
downloadabslibre-f6c0037c042f7afb0fce5eb5a52b556e58345c7f.tar.gz
abslibre-f6c0037c042f7afb0fce5eb5a52b556e58345c7f.tar.bz2
abslibre-f6c0037c042f7afb0fce5eb5a52b556e58345c7f.zip
openrc: use default shebang line
Diffstat (limited to 'pcr/openrc-video')
-rw-r--r--pcr/openrc-video/PKGBUILD32
1 files changed, 15 insertions, 17 deletions
diff --git a/pcr/openrc-video/PKGBUILD b/pcr/openrc-video/PKGBUILD
index 8c0e1742c..2831422b8 100644
--- a/pcr/openrc-video/PKGBUILD
+++ b/pcr/openrc-video/PKGBUILD
@@ -5,8 +5,8 @@ _url="https://raw.githubusercontent.com/gentoo/gentoo/master"
pkgbase=openrc-video
pkgname=('virtualgl-openrc')
-pkgver=20170309
-pkgrel=1.parabola1
+pkgver=20170314
+pkgrel=1.parabola2
arch=('any')
url="https://github.com/manjaro/packages-openrc"
license=('GPL')
@@ -19,31 +19,29 @@ sha256sums=('5356391cec2e297f2fafa370f42be225ad4238ac61182b90720a3d914261a80f'
'438c928840fbfb9274604296b8178e7f97b42a3428d115e1de6e609ea3146497')
pkgver() {
- date +%Y%m%d
+ date +%Y%m%d
}
_inst_initd(){
- install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1
+ install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1
- sed -e 's|#!/sbin/runscript|#!/usr/bin/openrc-run|' \
- -e 's|#!/sbin/openrc-run|#!/usr/bin/openrc-run|' \
- -e 's|/var/run|/run|g' \
- -i ${pkgdir}/etc/init.d/$1
+ sed -e 's|/var/run|/run|g' \
+ -i ${pkgdir}/etc/init.d/$1
}
_inst_confd(){
- install -Dm755 ${srcdir}/$1.confd ${pkgdir}/etc/conf.d/$1
+ install -Dm755 ${srcdir}/$1.confd ${pkgdir}/etc/conf.d/$1
}
package_virtualgl-openrc() {
- pkgdesc="OpenRC virtualgl init script"
- depends=('openrc' 'virtualgl')
- install=virtualgl.install
- backup=('etc/conf.d/vgl')
+ pkgdesc="OpenRC virtualgl init script"
+ depends=('openrc' 'virtualgl')
+ install=virtualgl.install
+ backup=('etc/conf.d/vgl')
- _inst_confd 'vgl'
- _inst_initd 'vgl'
+ _inst_confd 'vgl'
+ _inst_initd 'vgl'
- install -Dm755 "${srcdir}/vgl-helper.sh" "${pkgdir}"/usr/lib/vgl-helper.sh
- install -d "${pkgdir}"/var/lib/VirtualGL
+ install -Dm755 "${srcdir}/vgl-helper.sh" "${pkgdir}"/usr/lib/vgl-helper.sh
+ install -dm750 "${pkgdir}"/var/lib/VirtualGL
}