initial import
This commit is contained in:
29
syntax-highlighting/PKGBUILD
Normal file
29
syntax-highlighting/PKGBUILD
Normal file
@@ -0,0 +1,29 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=syntax-highlighting
|
||||
pkgver=5.78.0
|
||||
pkgrel=1
|
||||
pkgdesc='Syntax highlighting engine for structured text and code'
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://community.kde.org/Frameworks'
|
||||
license=('LGPL-2.1')
|
||||
depends=('qt-base')
|
||||
makedepends=('extra-cmake-modules' 'qt-xmlpatterns' 'qt-tools' 'qt-doc' 'doxygen')
|
||||
groups=('kf5')
|
||||
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig})
|
||||
sha512sums=('e9d47f69a14a890a4c5c0e9c33cce51fa6fef93d5c50b565b4d6e2d1978cddd8ffb4239534ddb02decf75190ec3b5446ca387901cda9f27f59088b6853c76843'
|
||||
'SKIP')
|
||||
validpgpkeys=('53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB') # David Faure <faure@kde.org>
|
||||
|
||||
build() {
|
||||
cmake -B build -S $pkgname-$pkgver \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DQRC_SYNTAX=OFF \
|
||||
-DBUILD_QCH=ON
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSES/LGPL-2.1-or-later.txt" -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user