summaryrefslogtreecommitdiff
path: root/libre/acpi_call-parabola-grsec/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/acpi_call-parabola-grsec/PKGBUILD')
-rw-r--r--libre/acpi_call-parabola-grsec/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/libre/acpi_call-parabola-grsec/PKGBUILD b/libre/acpi_call-parabola-grsec/PKGBUILD
index a0a96adf2..05bf0c697 100644
--- a/libre/acpi_call-parabola-grsec/PKGBUILD
+++ b/libre/acpi_call-parabola-grsec/PKGBUILD
@@ -23,7 +23,8 @@ sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0')
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
install='kmod.install'
-_replaces=("${_pkgname}")
+_replaces=("${_pkgname}" "${_pkgname}-libre")
+_provides=("${_pkgname}")
# Generic (you shouldn't have to modify any of these variables)
pkgname=${_pkgname}-parabola${_kernelname}
@@ -33,7 +34,7 @@ depends=("linux-libre${_kernelname}>=${_basekernel}" "linux-libre${_kernelname}<
makedepends=("linux-libre${_kernelname}-headers>=${_basekernel}" "linux-libre${_kernelname}-headers<${_toohigh}")
replaces=( "${_replaces[@]/%/${_kernelname}}")
conflicts=("${_replaces[@]/%/${_kernelname}}")
-provides=( "${_replaces[@]/%/${_kernelname}=${pkgver}}")
+provides=( "${_provides[@]/%/${_kernelname}=${pkgver}}")
if [[ -n "${_kernelname}" ]]; then
provides+=("${_pkgname}-parabola=${pkgver}") # pkgname without _kernelname
fi