### this file is sourced not run

# source: step
pkgname=fish
PKGVER=3.3.1
PKGBUILD=1
PKGARCH=x86_64
TARBALL=$pkgname-$PKGVER.tar.xz
MD5SUM=94be285255aadfcf0f910bdcc2f56073
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' # pcre2 static is included in fish source
# 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="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_BUILD_TYPE=Release"
	pkg_build_cmake &&
	pkg_build_slackdesc
}

# vim:ft=sh:

