Browse Source

[trunk] -> [community] 'neovim-qt-0.2.17-2' add

master
Dudemanguy 1 week ago
parent
commit
5aadf42163
Signed by: Dudemanguy
GPG Key ID: 4003D2EF625D6492
  1. 38
      trunk/PKGBUILD
  2. 38
      x86_64/community/PKGBUILD

38
trunk/PKGBUILD

@ -4,40 +4,38 @@
# Contributor: Ian Ker-Seymer <i.kerseymer@gmail.com>
pkgname=neovim-qt
pkgver=0.2.16.1
pkgver=0.2.17
pkgrel=2
pkgdesc='GUI for Neovim'
arch=(x86_64)
url='https://github.com/equalsraf/neovim-qt'
license=(ISC)
depends=(neovim qt5-svg hicolor-icon-theme)
makedepends=(cmake git ninja xorg-server-xvfb)
source=("git+$url#commit=566844f17760a97e8d0bf70a984cac141802c01d") # tag: v0.2.16.1
sha256sums=('SKIP')
makedepends=(cmake git ninja)
checkdepends=(ttf-dejavu xorg-server-xvfb)
source=("git+$url#commit=3f05de82ecb5c1a24a7572081ae59e419eb059b8") # tag: v0.2.17
b2sums=('SKIP')
build() {
mkdir -p build
cd build
cmake "$srcdir/$pkgname" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS" \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_SYSTEM_MSGPACK=on \
-GNinja
ninja
cmake \
-B build \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_FLAGS="$CFLAGS" \
-D CMAKE_CXX_FLAGS="$CXXFLAGS" \
-D CMAKE_EXE_LINKER_FLAGS="$LDFLAGS" \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_INSTALL_PREFIX=/usr \
-D USE_SYSTEM_MSGPACK=on \
-G Ninja \
-S $pkgname
ninja -C build
}
check() {
xvfb-run ninja -C build test
xvfb-run ninja -v -C build test
}
package() {
DESTDIR="$pkgdir" ninja -C build install
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" "$pkgname/LICENSE"
}
# getver: github.com/equalsraf/neovim-qt/releases
# vim: sw=2 ts=2 et

38
x86_64/community/PKGBUILD

@ -4,40 +4,38 @@
# Contributor: Ian Ker-Seymer <i.kerseymer@gmail.com>
pkgname=neovim-qt
pkgver=0.2.16.1
pkgver=0.2.17
pkgrel=2
pkgdesc='GUI for Neovim'
arch=(x86_64)
url='https://github.com/equalsraf/neovim-qt'
license=(ISC)
depends=(neovim qt5-svg hicolor-icon-theme)
makedepends=(cmake git ninja xorg-server-xvfb)
source=("git+$url#commit=566844f17760a97e8d0bf70a984cac141802c01d") # tag: v0.2.16.1
sha256sums=('SKIP')
makedepends=(cmake git ninja)
checkdepends=(ttf-dejavu xorg-server-xvfb)
source=("git+$url#commit=3f05de82ecb5c1a24a7572081ae59e419eb059b8") # tag: v0.2.17
b2sums=('SKIP')
build() {
mkdir -p build
cd build
cmake "$srcdir/$pkgname" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS" \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_SYSTEM_MSGPACK=on \
-GNinja
ninja
cmake \
-B build \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_FLAGS="$CFLAGS" \
-D CMAKE_CXX_FLAGS="$CXXFLAGS" \
-D CMAKE_EXE_LINKER_FLAGS="$LDFLAGS" \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_INSTALL_PREFIX=/usr \
-D USE_SYSTEM_MSGPACK=on \
-G Ninja \
-S $pkgname
ninja -C build
}
check() {
xvfb-run ninja -C build test
xvfb-run ninja -v -C build test
}
package() {
DESTDIR="$pkgdir" ninja -C build install
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" "$pkgname/LICENSE"
}
# getver: github.com/equalsraf/neovim-qt/releases
# vim: sw=2 ts=2 et

Loading…
Cancel
Save