### this file is sourced not run

# source: step
pkgname=fish
PKGVER=3.7.0
PKGBUILD=1
PKGARCH=x86_64
TARBALL=$pkgname-$PKGVER.tar.xz
MD5SUM=22c3fab479b185faf620a3b3f43443c3
SRC_URL=https://github.com/fish-shell/fish-shell/releases/download/$PKGVER/$TARBALL
BUNDLE=

SLACKDESC="$pkgname: $pkgname $PKGVER user-friendly shell (shell)
$pkgname: The Friendly Interactive SHell generally works like other shells. See
$pkgname: https://fishshell.com/docs/current/tutorial.html for differences
$pkgname: by searching for the magic phrase 'unlike other shells'.
$pkgname: User documentation is available by running help within fish, and
$pkgname: also at https://fishshell.com/docs/current/index.html
$pkgname:
$pkgname: License: GNU GPLv2
$pkgname:
$pkgname: https://github.com/fish-shell/fish-shell
$pkgname: http://fishshell.com
"

# http://software.jaos.org/git/slapt-get/plain/FAQ.html#slgFAQ19
SLACKREQ='libncurses libpcre2'
# http://software.jaos.org/git/slapt-get/plain/FAQ.html#slgFAQ44
SLACKSUG='xsel python3'
# http://software.jaos.org/git/slapt-get/plain/FAQ.html#slgFAQ31
SLACKCON=''

### default pkg_download
### default pkgـprepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/$pkgname-*
	CMAKEFLAGS="$CMAKEFLAGS
	-DFISH_USE_SYSTEM_PCRE2=ON
	-DWITH_GETTEXT=ON"
	pkg_build_cmake &&
	pkg_build_slackdesc
}

# vim:ft=sh:

