diff options
author | Tim Biermann <tbier@posteo.de> | 2022-10-30 11:17:47 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2022-10-30 11:17:47 +0000 |
commit | dff7f312a1316e34f4d0a56ff1d24f583c5e3555 (patch) | |
tree | a49abfe067b544fc198bc218e3583f72394db6bb /notcurses/Pkgfile | |
parent | 635d3da138305ce0fc26fa3c7e7a04580a8fc6c9 (diff) | |
download | contrib-dff7f312a1316e34f4d0a56ff1d24f583c5e3555.tar.gz contrib-dff7f312a1316e34f4d0a56ff1d24f583c5e3555.tar.xz |
notcurses: initial commit, version 3.0.8
Diffstat (limited to 'notcurses/Pkgfile')
-rw-r--r-- | notcurses/Pkgfile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/notcurses/Pkgfile b/notcurses/Pkgfile new file mode 100644 index 000000000..98e3f0b48 --- /dev/null +++ b/notcurses/Pkgfile @@ -0,0 +1,23 @@ +# Description: blingful character graphics/TUI library. definitely not curses +# URL: https://nick-black.com/dankwiki/index.php/Notcurses +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: ffmpeg libdeflate libunistring ninja +# Optional: libqrcodegen ffmpeg python3-cffi python3-pypandoc + +name=notcurses +version=3.0.8 +release=1 +source=(https://github.com/dankamongmen/notcurses/archive/v$version/$name-$version.tar.gz) + +build() { + cmake -S $name-$version -B build -G Ninja \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \ + -D USE_DOCTEST=OFF \ + -D USE_PANDOC=OFF \ + -Wno-dev + cmake --build build + DESTDIR=$PKG cmake --install build +} |