summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-support/bash-completion/bash-completion_2.3.bb (renamed from meta/recipes-support/bash-completion/bash-completion_2.1.bb)13
1 files changed, 6 insertions, 7 deletions
diff --git a/meta/recipes-support/bash-completion/bash-completion_2.1.bb b/meta/recipes-support/bash-completion/bash-completion_2.3.bb
index 4126262d6b..5e6c1d8acf 100644
--- a/meta/recipes-support/bash-completion/bash-completion_2.1.bb
+++ b/meta/recipes-support/bash-completion/bash-completion_2.3.bb
@@ -7,10 +7,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
7 7
8SECTION = "console/utils" 8SECTION = "console/utils"
9 9
10SRC_URI="http://bash-completion.alioth.debian.org/files/${BPN}-${PV}.tar.bz2" 10SRC_URI = "https://github.com/scop/bash-completion/releases/download/${PV}/${BPN}-${PV}.tar.xz"
11 11
12SRC_URI[md5sum] = "4e2a9f11a4042a38ee79ddcd048e8b9e" 12SRC_URI[md5sum] = "6697dc47adfe70cab5023b7b8186ad57"
13SRC_URI[sha256sum] = "2b606804a7d5f823380a882e0f7b6c8a37b0e768e72c3d4107c51fbe8a46ae4f" 13SRC_URI[sha256sum] = "b2e081af317f3da4fff3a332bfdbebeb5514ebc6c2d2a9cf781180acab15e8e9"
14UPSTREAM_CHECK_REGEX = "bash-completion-(?P<pver>(?!2008).+)\.tar" 14UPSTREAM_CHECK_REGEX = "bash-completion-(?P<pver>(?!2008).+)\.tar"
15UPSTREAM_CHECK_URI = "https://github.com/scop/bash-completion/releases" 15UPSTREAM_CHECK_URI = "https://github.com/scop/bash-completion/releases"
16 16
@@ -25,12 +25,9 @@ do_install_append() {
25 25
26 # Delete files already provided by util-linux 26 # Delete files already provided by util-linux
27 local i 27 local i
28 for i in cal dmesg eject hexdump hwclock ionice look renice rtcwake su mount umount; do 28 for i in mount umount; do
29 rm ${D}${datadir}/${BPN}/completions/$i 29 rm ${D}${datadir}/${BPN}/completions/$i
30 done 30 done
31
32 # Delete files for networkmanager
33 rm ${D}${datadir}/${BPN}/completions/nmcli
34} 31}
35 32
36RDEPENDS_${PN} = "bash" 33RDEPENDS_${PN} = "bash"
@@ -40,4 +37,6 @@ PACKAGES =+ "${PN}-extra"
40FILES_${PN}-extra = "${datadir}/${BPN}/completions/ \ 37FILES_${PN}-extra = "${datadir}/${BPN}/completions/ \
41 ${datadir}/${BPN}/helpers/" 38 ${datadir}/${BPN}/helpers/"
42 39
40FILES_${PN}-dev += "${datadir}/cmake"
41
43BBCLASSEXTEND = "nativesdk" 42BBCLASSEXTEND = "nativesdk"