New makedepends cargo & clang and new checkdepends procps-ng
RIIR https://github.com/fish-shell/fish-shell/pull/9512
This commit is contained in:
13
.SRCINFO
13
.SRCINFO
@@ -1,6 +1,6 @@
|
|||||||
pkgbase = fish-git
|
pkgbase = fish-git
|
||||||
pkgdesc = User friendly shell intended mostly for interactive use.
|
pkgdesc = User friendly shell intended mostly for interactive use.
|
||||||
pkgver = 3.4.0.r53.g3e5284aaf
|
pkgver = 3.6.0.r217.g59fe124c4
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
epoch = 2
|
epoch = 2
|
||||||
url = http://fishshell.com
|
url = http://fishshell.com
|
||||||
@@ -10,23 +10,24 @@ pkgbase = fish-git
|
|||||||
arch = arm
|
arch = arm
|
||||||
license = GPL2
|
license = GPL2
|
||||||
checkdepends = expect
|
checkdepends = expect
|
||||||
|
checkdepends = procps-ng
|
||||||
|
makedepends = cargo
|
||||||
|
makedepends = clang
|
||||||
makedepends = cmake
|
makedepends = cmake
|
||||||
makedepends = python-sphinx
|
|
||||||
makedepends = git
|
makedepends = git
|
||||||
|
makedepends = python-sphinx
|
||||||
depends = glibc
|
depends = glibc
|
||||||
depends = gcc-libs
|
depends = gcc-libs
|
||||||
depends = ncurses
|
depends = ncurses
|
||||||
depends = pcre2
|
depends = pcre2
|
||||||
optdepends = python: man page completion parser / web config tool
|
optdepends = python: man page completion parser / web config tool
|
||||||
optdepends = pkgfile: command-not-found hook
|
optdepends = pkgfile: command-not-found hook
|
||||||
optdepends = wl-clipboard: clipboard integration
|
|
||||||
optdepends = xsel: clipboard integration
|
|
||||||
optdepends = xclip: clipboard integration
|
|
||||||
provides = fish
|
provides = fish
|
||||||
provides = fish-shell
|
provides = fish-shell
|
||||||
conflicts = fish
|
conflicts = fish
|
||||||
conflicts = fish-shell
|
conflicts = fish-shell
|
||||||
|
backup = etc/fish/config.fish
|
||||||
source = git+https://github.com/fish-shell/fish-shell.git
|
source = git+https://github.com/fish-shell/fish-shell.git
|
||||||
md5sums = SKIP
|
b2sums = SKIP
|
||||||
|
|
||||||
pkgname = fish-git
|
pkgname = fish-git
|
||||||
|
|||||||
90
PKGBUILD
90
PKGBUILD
@@ -2,56 +2,78 @@
|
|||||||
# Contributor: Eric Belanger <eric@archlinux.org>
|
# Contributor: Eric Belanger <eric@archlinux.org>
|
||||||
# Contributor: Jan Fader <jan.fader@web.de>
|
# Contributor: Jan Fader <jan.fader@web.de>
|
||||||
# Contributor: Stephen Drodge <stephen.drodge@gmail.com>
|
# Contributor: Stephen Drodge <stephen.drodge@gmail.com>
|
||||||
# Contributor: akiirui (AUR)
|
# Contributor: Akatsuki Rui <aur@akii.work>
|
||||||
# Maintainer: SanskritFritz (gmail)
|
# Maintainer: SanskritFritz (gmail)
|
||||||
|
|
||||||
pkgname=fish-git
|
pkgname=fish-git
|
||||||
_gitname="fish-shell"
|
_gitname="fish-shell"
|
||||||
pkgver=3.4.0.r53.g3e5284aaf
|
pkgver=3.6.0.r217.g59fe124c4
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
epoch=2
|
epoch=2
|
||||||
pkgdesc="User friendly shell intended mostly for interactive use."
|
pkgdesc="User friendly shell intended mostly for interactive use."
|
||||||
arch=('i686' 'x86_64' 'arm')
|
arch=('i686' 'x86_64' 'arm')
|
||||||
url="http://fishshell.com"
|
url="http://fishshell.com"
|
||||||
license=("GPL2")
|
license=('GPL2')
|
||||||
depends=('glibc' 'gcc-libs' 'ncurses' 'pcre2')
|
depends=(
|
||||||
optdepends=('python: man page completion parser / web config tool'
|
'glibc'
|
||||||
'pkgfile: command-not-found hook'
|
'gcc-libs'
|
||||||
'wl-clipboard: clipboard integration'
|
'ncurses'
|
||||||
'xsel: clipboard integration'
|
'pcre2'
|
||||||
'xclip: clipboard integration')
|
)
|
||||||
makedepends=('cmake' 'python-sphinx' 'git')
|
optdepends=(
|
||||||
checkdepends=('expect')
|
'python: man page completion parser / web config tool'
|
||||||
provides=('fish' 'fish-shell')
|
'pkgfile: command-not-found hook'
|
||||||
conflicts=('fish' 'fish-shell')
|
)
|
||||||
|
makedepends=(
|
||||||
|
'cargo'
|
||||||
|
'clang'
|
||||||
|
'cmake'
|
||||||
|
'git'
|
||||||
|
'python-sphinx'
|
||||||
|
)
|
||||||
|
checkdepends=(
|
||||||
|
'expect'
|
||||||
|
'procps-ng'
|
||||||
|
)
|
||||||
|
provides=(
|
||||||
|
'fish'
|
||||||
|
'fish-shell'
|
||||||
|
)
|
||||||
|
conflicts=(
|
||||||
|
'fish'
|
||||||
|
'fish-shell'
|
||||||
|
)
|
||||||
|
source=(
|
||||||
|
"git+https://github.com/fish-shell/fish-shell.git"
|
||||||
|
)
|
||||||
install='fish.install'
|
install='fish.install'
|
||||||
source=("git+https://github.com/fish-shell/fish-shell.git")
|
backup=(etc/fish/config.fish)
|
||||||
md5sums=('SKIP')
|
b2sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$_gitname"
|
cd "$_gitname"
|
||||||
git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
|
git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
|
||||||
}
|
|
||||||
|
|
||||||
check() {
|
|
||||||
cd "$_gitname"
|
|
||||||
make -C build test
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$_gitname"
|
cd "$_gitname"
|
||||||
export CXXFLAGS+=" ${CPPFLAGS}"
|
export CXXFLAGS+=" ${CPPFLAGS}"
|
||||||
cmake \
|
cmake \
|
||||||
-B build \
|
-B build \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
|
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
|
||||||
-DCMAKE_BUILD_TYPE=None \
|
-DCMAKE_BUILD_TYPE=None \
|
||||||
-DBUILD_DOCS=True \
|
-DBUILD_DOCS=True \
|
||||||
-Wno-dev
|
-Wno-dev
|
||||||
make -C build
|
make -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "$_gitname"
|
||||||
|
make -C build test
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$_gitname"
|
cd "$_gitname"
|
||||||
make -C build DESTDIR="$pkgdir" install
|
make -C build DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user