Browse Source

[testing] -> [extra] 'bash-completion-2.9-1' move

master
artoo 3 months ago
parent
commit
3b07704ca8
Signed by: artoo <artoo@artixlinux.org> GPG Key ID: 3292CD0BB0DB310B

+ 3
- 8
bash-completion/repos/extra-any/PKGBUILD View File

@@ -1,8 +1,7 @@
# $Id$
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=bash-completion
pkgver=2.8
pkgver=2.9
pkgrel=1
pkgdesc='Programmable completion for the bash shell'
arch=(any)
@@ -10,10 +9,9 @@ url='https://github.com/scop/bash-completion'
license=(GPL2)
depends=(bash)
options=(!emptydirs !makeflags)
source=($url/releases/download/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
source=($url/releases/download/$pkgver/$pkgname-$pkgver.tar.xz)
validpgpkeys=(A558062B6D5DA1347CD468D52B0AE2C1B09B07CB)
sha1sums=('102d618c60fa001165153b58751d07f230aec7e8'
'SKIP')
sha256sums=('d48fe378e731062f479c5f8802ffa9d3c40a275a19e6e0f6f6cc4b90fa12b2f5')

build() {
cd $pkgname-$pkgver
@@ -30,7 +28,4 @@ package() {

# remove Slackware's makepkg completion
rm "$pkgdir/usr/share/bash-completion/completions/makepkg"

# remove completions which overlap with util-linux
rm "$pkgdir/usr/share/bash-completion/completions"/{u,}mount
}

+ 0
- 31
bash-completion/repos/testing-any/PKGBUILD View File

@@ -1,31 +0,0 @@
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=bash-completion
pkgver=2.9
pkgrel=1
pkgdesc='Programmable completion for the bash shell'
arch=(any)
url='https://github.com/scop/bash-completion'
license=(GPL2)
depends=(bash)
options=(!emptydirs !makeflags)
source=($url/releases/download/$pkgver/$pkgname-$pkgver.tar.xz)
validpgpkeys=(A558062B6D5DA1347CD468D52B0AE2C1B09B07CB)
sha256sums=('d48fe378e731062f479c5f8802ffa9d3c40a275a19e6e0f6f6cc4b90fa12b2f5')

build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc
make
}

package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install

# bash-completion is sourced in /etc/bash.bashrc so that non-bash shell don't source it
rm "$pkgdir/etc/profile.d/bash_completion.sh"

# remove Slackware's makepkg completion
rm "$pkgdir/usr/share/bash-completion/completions/makepkg"
}

Loading…
Cancel
Save