description="a modern interactive commandline shell."
url="http://www.fishshell.com/"

license="GPL2 LGPL2"

packager="spiky <spiky@nutyx.org>"
contributors="Greg,Fanch,Remy,Tnut"

makedepends=(cmake doxygen)

name=fish
version=3.7.1

source=(https://github.com/fish-shell/fish-shell/releases/download/$version/$name-$version.tar.xz)


build() {

  cd $name-$version
  mkdir build
  cd    build
  cmake -DCMAKE_INSTALL_PREFIX=/usr \
  -DCMAKE_INSTALL_SYSCONFDIR=/etc \
  -DCMAKE_BUILD_TYPE=Release \
  ..
  make
  make DESTDIR=$PKG install

  install -Dm644 ../COPYING $PKG/usr/share/licenses/$name/COPYING
}
