summaryrefslogtreecommitdiff
path: root/libre/linux-libre-grsec
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre-grsec')
-rw-r--r--libre/linux-libre-grsec/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/libre/linux-libre-grsec/PKGBUILD b/libre/linux-libre-grsec/PKGBUILD
index 7d51ac4f3..d4a97c919 100644
--- a/libre/linux-libre-grsec/PKGBUILD
+++ b/libre/linux-libre-grsec/PKGBUILD
@@ -19,6 +19,7 @@ _timestamp=201408212335
_replaces=('kernel26%' 'linux%') # '%' gets replaced with _kernelname
_srcname=linux-${_pkgbasever%-*}
+_archpkgver=${_pkgver%-*}.${_timestamp}
pkgver=${_pkgver//-/.}.${_timestamp}
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
@@ -125,7 +126,7 @@ _package() {
optdepends=('crda: to set the correct wireless channels of your country'
'gradm: to configure and enable Role Based Access Control (RBAC)'
'paxd: to enable PaX exploit mitigations and apply exceptions automatically')
- provides=( "${_replaces[@]/%/=${_archver}.${_timestamp}}")
+ provides=( "${_replaces[@]/%/=${_archpkgver}}")
conflicts=("${_replaces[@]}")
replaces=( "${_replaces[@]}")
backup=("etc/mkinitcpio.d/${pkgbase}.preset")
@@ -193,7 +194,7 @@ _package() {
_package-headers() {
pkgdesc="Header files and scripts for building modules for ${pkgbase^} kernel"
- provides=( "${_replaces[@]/%/-headers=${_archver}.${_timestamp}}")
+ provides=( "${_replaces[@]/%/-headers=${_archpkgver}}")
conflicts=("${_replaces[@]/%/-headers}")
replaces=( "${_replaces[@]/%/-headers}")
@@ -312,7 +313,7 @@ _package-headers() {
_package-docs() {
pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase^} kernel"
- provides=( "${_replaces[@]/%/-docs=${_archver}.${_timestamp}}")
+ provides=( "${_replaces[@]/%/-docs=${_archpkgver}}")
conflicts=("${_replaces[@]/%/-docs}")
replaces=( "${_replaces[@]/%/-docs}")