summaryrefslogtreecommitdiff
path: root/neovim-qt/Pkgfile
blob: 117eb56fe6da303155250843d85fb6aa8e95be8d (plain)
    1 # Description: Neovim client library and GUI, in Qt5.
    2 # URL: https://github.com/equalsraf/neovim-qt
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: hicolor-icon-theme neovim qt5
    5 
    6 name=neovim-qt
    7 version=0.2.17
    8 release=1
    9 source=(https://github.com/equalsraf/neovim-qt/archive/v$version/$name-$version.tar.gz)
   10 
   11 build() {
   12   cmake -S $name-$version -B build -G Ninja \
   13     -D CMAKE_INSTALL_PREFIX=/usr \
   14     -D CMAKE_INSTALL_LIBDIR=lib \
   15     -D CMAKE_BUILD_TYPE=Release \
   16     -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
   17     -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
   18     -Wno-dev
   19   cmake --build build
   20   DESTDIR=$PKG cmake --install build
   21 
   22   rm -r $PKG/usr/share/nvim-qt/LICENSE
   23 }

Generated by cgit