# Description: S-Lang programmer's library
# URL: http://www.jedsoft.org/slang/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libpng jq
# Optional: oniguruma

name=slang
version=2.3.3
release=1
source=(https://www.jedsoft.org/releases/$name/$name-$version.tar.bz2)

build() {
  cd $name-$version
  ./configure --prefix=/usr
  make -j ${JOBS:-1}
  make -j ${JOBS:-1} DESTDIR=$PKG install-all
  rm -fr $PKG/usr/share/doc/
}
