Giving openglfreak nightmares

Fixes https://github.com/Tk-Glitch/PKGBUILDS/issues/554
This commit is contained in:
Tk-Glitch 2020-05-02 05:19:05 +02:00
parent f0f7c029f3
commit c81a5ebf82
4 changed files with 15 additions and 11 deletions

View File

@ -89,7 +89,7 @@ pkgname=("${pkgbase}" "${pkgbase}-headers")
_basekernel=5.4
_sub=35
pkgver="${_basekernel}"."${_sub}"
pkgrel=50
pkgrel=51
pkgdesc='Linux-tkg'
arch=('x86_64') # no i686 in here
url="http://www.kernel.org/"
@ -898,8 +898,9 @@ hackbase() {
rm "$modulesdir"/{source,build}
# install cleanup pacman hook and script
install -Dm644 "${srcdir}"/90-cleanup.hook "${pkgdir}/usr/share/libalpm/hooks/90-${pkgbase}.hook"
install -Dm755 "${srcdir}"/cleanup "${pkgdir}/usr/share/libalpm/scripts/cleanup"
sed -e "s|cleanup|${pkgbase}-cleanup|g" "${srcdir}"/90-cleanup.hook |
install -Dm644 /dev/stdin "${pkgdir}/usr/share/libalpm/hooks/90-${pkgbase}.hook"
install -Dm755 "${srcdir}"/cleanup "${pkgdir}/usr/share/libalpm/scripts/${pkgbase}-cleanup"
msg2 "Fixing permissions..."
chmod -Rc u=rwX,go=rX "$pkgdir"

View File

@ -89,7 +89,7 @@ pkgname=("${pkgbase}" "${pkgbase}-headers")
_basekernel=5.5
_sub=19
pkgver="${_basekernel}"."${_sub}"
pkgrel=35
pkgrel=36
pkgdesc='Linux-tkg'
arch=('x86_64') # no i686 in here
url="http://www.kernel.org/"
@ -950,8 +950,9 @@ hackbase() {
rm "$modulesdir"/{source,build}
# install cleanup pacman hook and script
install -Dm644 "${srcdir}"/90-cleanup.hook "${pkgdir}/usr/share/libalpm/hooks/90-${pkgbase}.hook"
install -Dm755 "${srcdir}"/cleanup "${pkgdir}/usr/share/libalpm/scripts/cleanup"
sed -e "s|cleanup|${pkgbase}-cleanup|g" "${srcdir}"/90-cleanup.hook |
install -Dm644 /dev/stdin "${pkgdir}/usr/share/libalpm/hooks/90-${pkgbase}.hook"
install -Dm755 "${srcdir}"/cleanup "${pkgdir}/usr/share/libalpm/scripts/${pkgbase}-cleanup"
msg2 "Fixing permissions..."
chmod -Rc u=rwX,go=rX "$pkgdir"

View File

@ -89,7 +89,7 @@ pkgname=("${pkgbase}" "${pkgbase}-headers")
_basekernel=5.6
_sub=8
pkgver="${_basekernel}"."${_sub}"
pkgrel=18
pkgrel=19
pkgdesc='Linux-tkg'
arch=('x86_64') # no i686 in here
url="http://www.kernel.org/"
@ -959,8 +959,9 @@ hackbase() {
rm "$modulesdir"/{source,build}
# install cleanup pacman hook and script
install -Dm644 "${srcdir}"/90-cleanup.hook "${pkgdir}/usr/share/libalpm/hooks/90-${pkgbase}.hook"
install -Dm755 "${srcdir}"/cleanup "${pkgdir}/usr/share/libalpm/scripts/cleanup"
sed -e "s|cleanup|${pkgbase}-cleanup|g" "${srcdir}"/90-cleanup.hook |
install -Dm644 /dev/stdin "${pkgdir}/usr/share/libalpm/hooks/90-${pkgbase}.hook"
install -Dm755 "${srcdir}"/cleanup "${pkgdir}/usr/share/libalpm/scripts/${pkgbase}-cleanup"
msg2 "Fixing permissions..."
chmod -Rc u=rwX,go=rX "$pkgdir"

View File

@ -950,8 +950,9 @@ hackbase() {
rm "$modulesdir"/{source,build}
# install cleanup pacman hook and script
install -Dm644 "${srcdir}"/90-cleanup.hook "${pkgdir}/usr/share/libalpm/hooks/90-${pkgbase}.hook"
install -Dm755 "${srcdir}"/cleanup "${pkgdir}/usr/share/libalpm/scripts/cleanup"
sed -e "s|cleanup|${pkgbase}-cleanup|g" "${srcdir}"/90-cleanup.hook |
install -Dm644 /dev/stdin "${pkgdir}/usr/share/libalpm/hooks/90-${pkgbase}.hook"
install -Dm755 "${srcdir}"/cleanup "${pkgdir}/usr/share/libalpm/scripts/${pkgbase}-cleanup"
msg2 "Fixing permissions..."
chmod -Rc u=rwX,go=rX "$pkgdir"