summaryrefslogtreecommitdiff
path: root/notcurses/Pkgfile
blob: 5a782563649bb332636b7e81b446a8a497c4ef8b (plain)
    1 # Description: blingful character graphics/TUI library. definitely not curses
    2 # URL: https://nick-black.com/dankwiki/index.php/Notcurses
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: ffmpeg libdeflate libunistring ninja
    5 # Optional: libqrcodegen ffmpeg python3-cffi python3-pypandoc
    6 
    7 name=notcurses
    8 version=3.0.9
    9 release=1
   10 source=(https://github.com/dankamongmen/notcurses/archive/v$version/$name-$version.tar.gz)
   11 
   12 build() {
   13   cmake -S $name-$version -B build -G Ninja \
   14     -D CMAKE_INSTALL_PREFIX=/usr \
   15     -D CMAKE_INSTALL_LIBDIR=lib \
   16     -D CMAKE_BUILD_TYPE=Release \
   17     -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
   18     -D USE_DOCTEST=OFF \
   19     -D USE_PANDOC=OFF \
   20     -Wno-dev
   21   cmake --build build
   22   DESTDIR=$PKG cmake --install build
   23 
   24   rm -r $PKG/usr/share/doc
   25 }

Generated by cgit