diff options
author | Chocobo1 | 2020-10-23 00:50:29 +0800 |
---|---|---|
committer | Chocobo1 | 2020-10-23 01:19:55 +0800 |
commit | e0e588e908e514e9db12d6b01fa15c2fc261da18 (patch) | |
tree | 2e68f41f31dd9ee9770a2951e96426d7ddae7427 | |
parent | 546947a10d5f104aa57d199c15d19049de21f95f (diff) | |
download | aur-e0e588e908e514e9db12d6b01fa15c2fc261da18.tar.gz |
upgpkg: bash-devel-git r1155.g75c5460c-1
-rw-r--r-- | .SRCINFO | 32 | ||||
-rw-r--r-- | PKGBUILD | 83 | ||||
-rw-r--r-- | dot.bash_logout | 3 | ||||
-rw-r--r-- | dot.bash_profile | 5 | ||||
-rw-r--r-- | dot.bashrc | 9 | ||||
-rw-r--r-- | system.bash_logout | 3 | ||||
-rw-r--r-- | system.bashrc | 22 |
7 files changed, 62 insertions, 95 deletions
@@ -1,20 +1,18 @@ -# Generated by mksrcinfo v8 -# Sun Sep 10 18:02:59 UTC 2017 pkgbase = bash-devel-git pkgdesc = The GNU Bourne Again shell (development version) - pkgver = 4.0.alpha.r535.g560db36b + pkgver = r1155.g75c5460c pkgrel = 1 - url = http://www.gnu.org/software/bash/bash.html + url = https://www.gnu.org/software/bash/bash.html arch = i686 arch = x86_64 license = GPL makedepends = git depends = glibc depends = ncurses - depends = libncursesw.so + depends = readline>=7.0 optdepends = bash-completion: for tab completion + provides = bash provides = sh - provides = bash=4.4 conflicts = bash backup = etc/bash.bashrc backup = etc/bash.bash_logout @@ -22,17 +20,17 @@ pkgbase = bash-devel-git backup = etc/skel/.bash_profile backup = etc/skel/.bash_logout source = git+https://git.savannah.gnu.org/git/bash.git#branch=devel - source = dot.bashrc - source = dot.bash_profile - source = dot.bash_logout - source = system.bashrc - source = system.bash_logout - md5sums = SKIP - md5sums = 027d6bd8f5f6a06b75bb7698cb478089 - md5sums = 2902e0fee7a9168f3a4fd2ccd60ff047 - md5sums = 42f4400ed2314bd7519c020d0187edc5 - md5sums = d8f3f334e72c0e30032eae1a1229aef1 - md5sums = 472f536d7c9e8250dc4568ec4cfaf294 + source = dot.bash_logout::https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/bash/trunk/dot.bash_logout + source = dot.bash_profile::https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/bash/trunk/dot.bash_profile + source = dot.bashrc::https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/bash/trunk/dot.bashrc + source = system.bash_logout::https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/bash/trunk/system.bash_logout + source = system.bashrc::https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/bash/trunk/system.bashrc + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP pkgname = bash-devel-git @@ -1,72 +1,83 @@ -# Maintainer: Alad Wenter <alad@mailbox.org> +# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> +# Previous maintainer: Alad Wenter <alad@mailbox.org> # Contributor: Carlos Pita <carlosjosepita@gmail.com> # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor: Allan McRae <allan@archlinux.org> # Contributor: Aaron Griffin <aaron@archlinux.org> pkgname=bash-devel-git -pkgdesc='The GNU Bourne Again shell (development version)' -pkgver=4.0.alpha.r535.g560db36b +pkgver=r1155.g75c5460c pkgrel=1 -url='http://www.gnu.org/software/bash/bash.html' +pkgdesc="The GNU Bourne Again shell (development version)" arch=('i686' 'x86_64') +url="https://www.gnu.org/software/bash/bash.html" license=('GPL') -backup=(etc/bash.bash{rc,_logout} etc/skel/.bash{rc,_profile,_logout}) -depends=('glibc' 'ncurses' 'libncursesw.so') +depends=('glibc' 'ncurses' 'readline>=7.0') makedepends=('git') optdepends=('bash-completion: for tab completion') -provides=('sh' 'bash=4.4') +provides=('bash' 'sh') conflicts=('bash') -source=('git+https://git.savannah.gnu.org/git/bash.git#branch=devel' - 'dot.bashrc' - 'dot.bash_profile' - 'dot.bash_logout' - 'system.bashrc' - 'system.bash_logout') -md5sums=('SKIP' - '027d6bd8f5f6a06b75bb7698cb478089' - '2902e0fee7a9168f3a4fd2ccd60ff047' - '42f4400ed2314bd7519c020d0187edc5' - 'd8f3f334e72c0e30032eae1a1229aef1' - '472f536d7c9e8250dc4568ec4cfaf294') +backup=(etc/bash.bash{rc,_logout} etc/skel/.bash{rc,_profile,_logout}) +source=("git+https://git.savannah.gnu.org/git/bash.git#branch=devel" + "dot.bash_logout::https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/bash/trunk/dot.bash_logout" + "dot.bash_profile::https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/bash/trunk/dot.bash_profile" + "dot.bashrc::https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/bash/trunk/dot.bashrc" + "system.bash_logout::https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/bash/trunk/system.bash_logout" + "system.bashrc::https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/bash/trunk/system.bashrc") +sha256sums=('SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP') + pkgver() { - cd bash - git describe --long --tags | sed -e 's/bash.//' -e 's/\([^-]*-g\)/r\1/;s/-/./g' + cd "bash" + + _rev=$(git rev-list --count --all) + _hash=$(git rev-parse --short HEAD) + printf "r%s.g%s" "$_rev" "$_hash" } build() { - cd bash + cd "bash" + _bashconfig=(-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/bin\"\' -DSTANDARD_UTILS_PATH=\'\"/usr/bin\"\' -DSYS_BASHRC=\'\"/etc/bash.bashrc\"\' -DSYS_BASH_LOGOUT=\'\"/etc/bash.bash_logout\"\' -DNON_INTERACTIVE_LOGIN_SHELLS) - export CFLAGS="${CFLAGS} ${_bashconfig[@]}" + export CFLAGS="$CFLAGS ${_bashconfig[@]}" - # Note: This package does not use the system readline, as it depends on + # Note: This package does not use the system readline, as it depends on # a development version which is usually not ABI-compatible. - ./configure --prefix=/usr --with-curses --enable-readline \ - --without-bash-malloc + ./configure \ + --prefix="/usr" \ + --enable-readline \ + --with-curses make } - check() { - make -C bash check + cd "bash" + + #make check } package() { - make -C bash DESTDIR="$pkgdir" install - ln -s bash "$pkgdir"/usr/bin/sh - install -dm755 "$pkgdir"/etc/skel + cd "bash" + + make DESTDIR="$pkgdir" install + + ln -s "bash" "$pkgdir/usr/bin/sh" # system-wide configuration files - install -m644 system.bashrc $pkgdir/etc/bash.bashrc - install -m644 system.bash_logout "$pkgdir"/etc/bash.bash_logout + install -Dm644 "$srcdir/system.bashrc" "$pkgdir/etc/bash.bashrc" + install -Dm644 "$srcdir/system.bash_logout" "$pkgdir/etc/bash.bash_logout" # user configuration file skeletons - install -m644 dot.bashrc "$pkgdir"/etc/skel/.bashrc - install -m644 dot.bash_profile "$pkgdir"/etc/skel/.bash_profile - install -m644 dot.bash_logout "$pkgdir"/etc/skel/.bash_logout + install -Dm644 "$srcdir/dot.bashrc" "$pkgdir/etc/skel/.bashrc" + install -Dm644 "$srcdir/dot.bash_profile" "$pkgdir/etc/skel/.bash_profile" + install -Dm644 "$srcdir/dot.bash_logout" "$pkgdir/etc/skel/.bash_logout" } diff --git a/dot.bash_logout b/dot.bash_logout deleted file mode 100644 index 0e4e4f1845f2..000000000000 --- a/dot.bash_logout +++ /dev/null @@ -1,3 +0,0 @@ -# -# ~/.bash_logout -# diff --git a/dot.bash_profile b/dot.bash_profile deleted file mode 100644 index 5545f007ea9b..000000000000 --- a/dot.bash_profile +++ /dev/null @@ -1,5 +0,0 @@ -# -# ~/.bash_profile -# - -[[ -f ~/.bashrc ]] && . ~/.bashrc diff --git a/dot.bashrc b/dot.bashrc deleted file mode 100644 index a355b0cd3267..000000000000 --- a/dot.bashrc +++ /dev/null @@ -1,9 +0,0 @@ -# -# ~/.bashrc -# - -# If not running interactively, don't do anything -[[ $- != *i* ]] && return - -alias ls='ls --color=auto' -PS1='[\u@\h \W]\$ ' diff --git a/system.bash_logout b/system.bash_logout deleted file mode 100644 index a76e48e4ae67..000000000000 --- a/system.bash_logout +++ /dev/null @@ -1,3 +0,0 @@ -# -# /etc/bash.bash_logout -# diff --git a/system.bashrc b/system.bashrc deleted file mode 100644 index c484b2bc7716..000000000000 --- a/system.bashrc +++ /dev/null @@ -1,22 +0,0 @@ -# -# /etc/bash.bashrc -# - -# If not running interactively, don't do anything -[[ $- != *i* ]] && return - -[[ $DISPLAY ]] && shopt -s checkwinsize - -PS1='[\u@\h \W]\$ ' - -case ${TERM} in - xterm*|rxvt*|Eterm|aterm|kterm|gnome*) - PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' - - ;; - screen*) - PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' - ;; -esac - -[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion |