diff options
-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 | ||
8 | SECTION = "console/utils" | 8 | SECTION = "console/utils" |
9 | 9 | ||
10 | SRC_URI="http://bash-completion.alioth.debian.org/files/${BPN}-${PV}.tar.bz2" | 10 | SRC_URI = "https://github.com/scop/bash-completion/releases/download/${PV}/${BPN}-${PV}.tar.xz" |
11 | 11 | ||
12 | SRC_URI[md5sum] = "4e2a9f11a4042a38ee79ddcd048e8b9e" | 12 | SRC_URI[md5sum] = "6697dc47adfe70cab5023b7b8186ad57" |
13 | SRC_URI[sha256sum] = "2b606804a7d5f823380a882e0f7b6c8a37b0e768e72c3d4107c51fbe8a46ae4f" | 13 | SRC_URI[sha256sum] = "b2e081af317f3da4fff3a332bfdbebeb5514ebc6c2d2a9cf781180acab15e8e9" |
14 | UPSTREAM_CHECK_REGEX = "bash-completion-(?P<pver>(?!2008).+)\.tar" | 14 | UPSTREAM_CHECK_REGEX = "bash-completion-(?P<pver>(?!2008).+)\.tar" |
15 | UPSTREAM_CHECK_URI = "https://github.com/scop/bash-completion/releases" | 15 | UPSTREAM_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 | ||
36 | RDEPENDS_${PN} = "bash" | 33 | RDEPENDS_${PN} = "bash" |
@@ -40,4 +37,6 @@ PACKAGES =+ "${PN}-extra" | |||
40 | FILES_${PN}-extra = "${datadir}/${BPN}/completions/ \ | 37 | FILES_${PN}-extra = "${datadir}/${BPN}/completions/ \ |
41 | ${datadir}/${BPN}/helpers/" | 38 | ${datadir}/${BPN}/helpers/" |
42 | 39 | ||
40 | FILES_${PN}-dev += "${datadir}/cmake" | ||
41 | |||
43 | BBCLASSEXTEND = "nativesdk" | 42 | BBCLASSEXTEND = "nativesdk" |