[arch-commits] Commit in cmake/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Apr 14 09:03:46 UTC 2020
Date: Tuesday, April 14, 2020 @ 09:03:45
Author: arojas
Revision: 380306
Install bash completions (FS#66251)
Modified:
cmake/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-14 05:18:38 UTC (rev 380305)
+++ PKGBUILD 2020-04-14 09:03:45 UTC (rev 380306)
@@ -4,7 +4,7 @@
pkgname=cmake
pkgver=3.17.1
-pkgrel=1
+pkgrel=2
pkgdesc='A cross-platform open-source make system'
arch=('x86_64')
url="https://www.cmake.org/"
@@ -49,4 +49,8 @@
install -Dm644 Copyright.txt \
"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
+# install bash completions
+ mkdir -p "$pkgdir"/usr/share/bash-completion/completions
+ ln -s /usr/share/cmake-${pkgver%.*}/completions/{cmake,cpack,ctest} "$pkgdir"/usr/share/bash-completion/completions
}
More information about the arch-commits
mailing list