summaryrefslogtreecommitdiff
path: root/libre/acpi_call-parabola-lts
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-24 17:47:55 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-24 17:47:55 -0300
commit5df1490b1ae825f3b2422115ab13f557b1aa49e9 (patch)
treeb8efa3dd44bde4f20a1ebb26023808aaeb6bd586 /libre/acpi_call-parabola-lts
parent90aca6b17865eafd41b20a46ad76ec58c9126a29 (diff)
downloadabslibre-5df1490b1ae825f3b2422115ab13f557b1aa49e9.tar.gz
abslibre-5df1490b1ae825f3b2422115ab13f557b1aa49e9.tar.bz2
abslibre-5df1490b1ae825f3b2422115ab13f557b1aa49e9.zip
linux-libre kernels and dependencies: add libre suffix packages on replaces and conflicts, rename $archver to $archpkgver with improvements on the variables
Diffstat (limited to 'libre/acpi_call-parabola-lts')
-rw-r--r--libre/acpi_call-parabola-lts/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/libre/acpi_call-parabola-lts/PKGBUILD b/libre/acpi_call-parabola-lts/PKGBUILD
index 107dcbaca..681c3399e 100644
--- a/libre/acpi_call-parabola-lts/PKGBUILD
+++ b/libre/acpi_call-parabola-lts/PKGBUILD
@@ -23,7 +23,8 @@ sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0')
pkgrel=7
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