mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-14 00:59:02 +08:00
[skip-ci] syntax-highlighting: fix missing files
This commit is contained in:
parent
5329673d2d
commit
6d1a46290e
@ -1,12 +1,12 @@
|
||||
pkgname=syntax-highlighting
|
||||
pkgver=5.53.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Syntax highlighting Engine for Structured Text and Code.'
|
||||
arch=('x86_64')
|
||||
url='https://projects.kde.org/projects/frameworks/syntax-highlighting'
|
||||
license=('MIT')
|
||||
depends=('qt5-xmlpatterns' 'perl')
|
||||
makedepends=("extra-cmake-modules>=5.53.0" 'python3' 'qt5-tools')
|
||||
depends=('qt5-base')
|
||||
makedepends=('extra-cmake-modules' 'qt5-xmlpatterns' 'qt5-tools' 'doxygen' 'python3')
|
||||
groups=('kf5')
|
||||
options=("debug")
|
||||
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
||||
@ -17,20 +17,20 @@ validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
cd ${pkgname}-${pkgver}
|
||||
# syntax highlighting for PKGBUILD files
|
||||
sed -i -e 's|.bash_login;.profile|.bash_login;.profile;PKGBUILD|' data/syntax/bash.xml
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../${pkgname}-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DKDE_INSTALL_LIBDIR=lib \
|
||||
-DKDE_INSTALL_SYSCONFDIR=/etc \
|
||||
-DKDE_INSTALL_LIBEXECDIR=lib \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
|
||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@" \
|
||||
-DQRC_SYNTAX=OFF \
|
||||
-DBUILD_QCH=ON
|
||||
make
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user