🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546
pkgname: fish
pkgver: '4.9.3'
pkgrel: '1'
pkgdesc: 'a modern interactive commandline shell.'
url: 'https://github.com/fish-shell/fish-shell'
arch: x86_64
license:
- 'GPL2 LGPL2'
depends: []
makedepends:
- cmake
- rustc
- doxygen
source:
- 'https://github.com/fish-shell/fish-shell.git'
sha256sums:
- SKIP
hooks:
'post-install': |
name=fish
version=4.8.1
release=1
grep -qe '^/usr/bin/fish$' etc/shells || echo '/usr/bin/fish' >> etc/shells
build: |
cd ${pkgname}-${pkgver}
# Cargo.toml/Cargo.lock pinuja rev cf712bce fluent-rs, ktora zniknela z fork-a
# (force-push) - podmieniamy na aktualny HEAD danielrainer/fluent-rs
sed -i "s/cf712bced280b217b6307edabc2089b3e57204ab/e0b443552a9b277badc958ab533b506394aad915/" Cargo.toml crates/*/Cargo.toml Cargo.lock 2>/dev/null || true
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DCMAKE_BUILD_TYPE=Release \
..
make
make DESTDIR=${PKGDIR} install
install -Dm644 ../COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING
package: |
true