Compare commits
10 Commits
d3765aa5fe
...
a4314b7b09
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a4314b7b09 | ||
|
|
8cbc2c56db | ||
|
|
7b31f728f3 | ||
|
|
62247701fc | ||
|
|
cdfa204d14 | ||
|
|
30c05b2b87 | ||
|
|
2e54db1002 | ||
|
|
f91f4bff16 | ||
|
|
e1b69a4a0d | ||
|
|
e62c7c6932 |
12
.SRCINFO
12
.SRCINFO
@@ -1,6 +1,6 @@
|
||||
pkgbase = fish-git
|
||||
pkgdesc = User friendly shell intended mostly for interactive use.
|
||||
pkgver = 3.7.1.r2398.g81ff6db62
|
||||
pkgver = 4.3.2.r38.g0a23a7852
|
||||
pkgrel = 1
|
||||
epoch = 2
|
||||
url = https://github.com/fish-shell/fish-shell
|
||||
@@ -8,18 +8,26 @@ pkgbase = fish-git
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
arch = arm
|
||||
license = GPL-2.0-or-later
|
||||
license = GPL-2.0-only AND BSD-3-Clause AND ISC AND MIT AND PSF-2.0
|
||||
checkdepends = expect
|
||||
checkdepends = procps-ng
|
||||
checkdepends = ruff
|
||||
makedepends = cargo
|
||||
makedepends = cmake
|
||||
makedepends = git
|
||||
makedepends = jq
|
||||
makedepends = python-sphinx
|
||||
depends = gcc-libs
|
||||
depends = glibc
|
||||
depends = ncurses
|
||||
depends = pcre2
|
||||
optdepends = python: man page completion parser / web config tool
|
||||
optdepends = pkgfile: command-not-found hook
|
||||
optdepends = groff: --help for built-in commmands
|
||||
optdepends = mandoc: --help for built-in commmands (alternative)
|
||||
optdepends = xsel: X11 clipboard integration
|
||||
optdepends = xclip: X11 clipboard integration (alternative)
|
||||
optdepends = wl-clipboard: Wayland clipboard integration
|
||||
provides = fish
|
||||
provides = fish-shell
|
||||
conflicts = fish
|
||||
|
||||
15
.gitea/workflows/build.yml
Normal file
15
.gitea/workflows/build.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
name: Build package
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build-package:
|
||||
runs-on: pkgbuilder
|
||||
env:
|
||||
steps:
|
||||
- name: Build and push package
|
||||
uses: https://gitea.konchin.com/action/archbuild@main
|
||||
with:
|
||||
minio-accesskey: ${{ secrets.MINIO_ACCESSKEY }}
|
||||
minio-secretkey: ${{ secrets.MINIO_SECRETKEY }}
|
||||
gpg-password: ${{ secrets.GPG_PASSWORD }}
|
||||
gpg-keygrip: ${{ secrets.GPG_KEYGRIP }}
|
||||
46
PKGBUILD
46
PKGBUILD
@@ -1,20 +1,24 @@
|
||||
# Maintainer: Akatsuki Rui <aur@akii.work>
|
||||
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
|
||||
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||
# Contributor: Eric Belanger <eric@archlinux.org>
|
||||
# Contributor: Jan Fader <jan.fader@web.de>
|
||||
# Contributor: Kaiting Chen <kaitocracy@gmail.com>
|
||||
# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||
# Contributor: SanskritFritz (gmail)
|
||||
# Contributor: Stephen Drodge <stephen.drodge@gmail.com>
|
||||
# Contributor: Akatsuki Rui <aur@akii.work>
|
||||
# Maintainer: SanskritFritz (gmail)
|
||||
|
||||
pkgname=fish-git
|
||||
_gitname="fish-shell"
|
||||
pkgver=3.7.1.r2398.g81ff6db62
|
||||
pkgver=4.3.2.r38.g0a23a7852
|
||||
pkgrel=1
|
||||
epoch=2
|
||||
pkgdesc="User friendly shell intended mostly for interactive use."
|
||||
arch=('i686' 'x86_64' 'arm')
|
||||
url="https://github.com/fish-shell/fish-shell"
|
||||
license=('GPL-2.0-or-later')
|
||||
license=('GPL-2.0-only AND BSD-3-Clause AND ISC AND MIT AND PSF-2.0')
|
||||
depends=(
|
||||
'gcc-libs'
|
||||
'glibc'
|
||||
'ncurses'
|
||||
'pcre2'
|
||||
@@ -22,16 +26,24 @@ depends=(
|
||||
optdepends=(
|
||||
'python: man page completion parser / web config tool'
|
||||
'pkgfile: command-not-found hook'
|
||||
'groff: --help for built-in commmands'
|
||||
'mandoc: --help for built-in commmands (alternative)'
|
||||
'xsel: X11 clipboard integration'
|
||||
'xclip: X11 clipboard integration (alternative)'
|
||||
'wl-clipboard: Wayland clipboard integration'
|
||||
|
||||
)
|
||||
makedepends=(
|
||||
'cargo'
|
||||
'cmake'
|
||||
'git'
|
||||
'jq'
|
||||
'python-sphinx'
|
||||
)
|
||||
checkdepends=(
|
||||
'expect'
|
||||
'procps-ng'
|
||||
'ruff'
|
||||
)
|
||||
options=(!lto)
|
||||
provides=(
|
||||
@@ -56,23 +68,31 @@ pkgver() {
|
||||
|
||||
build() {
|
||||
cd "$_gitname"
|
||||
|
||||
export CXXFLAGS+=" ${CPPFLAGS}"
|
||||
cmake \
|
||||
-B build \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
|
||||
-DBUILD_DOCS=True \
|
||||
|
||||
local cmake_options=(
|
||||
-B build
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
-DCMAKE_INSTALL_SYSCONFDIR=/etc
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DWITH_DOCS=ON
|
||||
-DFISH_USE_SYSTEM_PCRE2=ON
|
||||
-DWITH_MESSAGE_LOCALIZATION=ON
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-Wno-dev
|
||||
make -C build
|
||||
)
|
||||
cmake "${cmake_options[@]}"
|
||||
|
||||
make -C build VERBOSE=1
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$_gitname"
|
||||
make -C build test
|
||||
sh build_tools/check.sh
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_gitname"
|
||||
make -C build DESTDIR="$pkgdir" install
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user