Compare commits

...

10 Commits

Author SHA1 Message Date
Yi-Ting Shih
a4314b7b09 Feat: add build ci
All checks were successful
Build package / build-package (push) Successful in 21m54s
2026-04-08 18:35:54 +08:00
Akatsuki Rui
8cbc2c56db 4.3.2.r38.g0a23a7852 2026-01-04 06:20:05 +08:00
Akatsuki Rui
7b31f728f3 4.2.1.r205.gb29a85f45 2025-12-17 18:35:50 +08:00
Akatsuki Rui
62247701fc fix: test error 2025-07-26 22:38:59 +08:00
Akatsuki Rui
cdfa204d14 fix: cmake error 2025-06-09 21:53:18 +08:00
Akatsuki Rui
30c05b2b87 Merge PKGBUILD from official repository
f3df74e9b54f79e20e0d15756aca391ab52599c1
Depend on groff instead of nroff
nroff is the executable not the package name.
2025-05-28 17:50:28 +08:00
Akatsuki Rui
2e54db1002 Merge PKGBUILD from official repository 2025-03-20 07:28:33 +08:00
Akatsuki Rui
f91f4bff16 Fix failure tests::fd_monitor::test_close_during_select_ebadf when tmux is already installed 2024-12-31 11:03:37 +00:00
Akatsuki Rui
e1b69a4a0d fix .SRCINFO 2024-12-27 03:03:04 +00:00
Akatsuki Rui
e62c7c6932 4.0b1.r45.gc473aa60a 2024-12-27 02:59:13 +00:00
3 changed files with 58 additions and 15 deletions

View File

@@ -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.7.1.r2398.g81ff6db62 pkgver = 4.3.2.r38.g0a23a7852
pkgrel = 1 pkgrel = 1
epoch = 2 epoch = 2
url = https://github.com/fish-shell/fish-shell url = https://github.com/fish-shell/fish-shell
@@ -8,18 +8,26 @@ pkgbase = fish-git
arch = i686 arch = i686
arch = x86_64 arch = x86_64
arch = arm 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 = expect
checkdepends = procps-ng checkdepends = procps-ng
checkdepends = ruff
makedepends = cargo makedepends = cargo
makedepends = cmake makedepends = cmake
makedepends = git makedepends = git
makedepends = jq
makedepends = python-sphinx makedepends = python-sphinx
depends = gcc-libs
depends = glibc depends = glibc
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 = 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
provides = fish-shell provides = fish-shell
conflicts = fish conflicts = fish

View 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 }}

View File

@@ -1,20 +1,24 @@
# Maintainer: Akatsuki Rui <aur@akii.work>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com> # Contributor: Abhishek Dasgupta <abhidg@gmail.com>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# 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: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: SanskritFritz (gmail)
# Contributor: Stephen Drodge <stephen.drodge@gmail.com> # Contributor: Stephen Drodge <stephen.drodge@gmail.com>
# Contributor: Akatsuki Rui <aur@akii.work>
# Maintainer: SanskritFritz (gmail)
pkgname=fish-git pkgname=fish-git
_gitname="fish-shell" _gitname="fish-shell"
pkgver=3.7.1.r2398.g81ff6db62 pkgver=4.3.2.r38.g0a23a7852
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="https://github.com/fish-shell/fish-shell" 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=( depends=(
'gcc-libs'
'glibc' 'glibc'
'ncurses' 'ncurses'
'pcre2' 'pcre2'
@@ -22,16 +26,24 @@ depends=(
optdepends=( optdepends=(
'python: man page completion parser / web config tool' 'python: man page completion parser / web config tool'
'pkgfile: command-not-found hook' '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=( makedepends=(
'cargo' 'cargo'
'cmake' 'cmake'
'git' 'git'
'jq'
'python-sphinx' 'python-sphinx'
) )
checkdepends=( checkdepends=(
'expect' 'expect'
'procps-ng' 'procps-ng'
'ruff'
) )
options=(!lto) options=(!lto)
provides=( provides=(
@@ -56,23 +68,31 @@ pkgver() {
build() { build() {
cd "$_gitname" cd "$_gitname"
export CXXFLAGS+=" ${CPPFLAGS}" export CXXFLAGS+=" ${CPPFLAGS}"
cmake \
-B build \ local cmake_options=(
-DCMAKE_BUILD_TYPE=Release \ -B build
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_SYSCONFDIR=/etc \ -DCMAKE_INSTALL_SYSCONFDIR=/etc
-DBUILD_DOCS=True \ -DCMAKE_BUILD_TYPE=Release
-DWITH_DOCS=ON
-DFISH_USE_SYSTEM_PCRE2=ON
-DWITH_MESSAGE_LOCALIZATION=ON
-DBUILD_SHARED_LIBS=OFF
-Wno-dev -Wno-dev
make -C build )
cmake "${cmake_options[@]}"
make -C build VERBOSE=1
} }
check() { check() {
cd "$_gitname" cd "$_gitname"
make -C build test sh build_tools/check.sh
} }
package() { package() {
cd "$_gitname" cd "$_gitname"
make -C build DESTDIR="$pkgdir" install DESTDIR="$pkgdir" cmake --install build
} }