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
|
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
|
||||||
|
|||||||
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: 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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user