mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 03:27:14 +08:00
[skip-ci] antlr4-runtime: added as a dependency for mysql-workbench
This commit is contained in:
parent
1adcef811b
commit
b56a6b192f
23
antlr4-runtime/PKGBUILD
Normal file
23
antlr4-runtime/PKGBUILD
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
pkgname=antlr4-runtime
|
||||||
|
pkgver=4.7.2
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Antlr C++ runtime'
|
||||||
|
url='https://www.antlr.org/'
|
||||||
|
arch=('x86_64')
|
||||||
|
depends=('gcc-libs')
|
||||||
|
license=('BSD')
|
||||||
|
makedepends=('cmake')
|
||||||
|
source=("https://www.antlr.org/download/antlr4-cpp-runtime-${pkgver}-source.zip")
|
||||||
|
sha256sums=('8631a39116684638168663d295a969ad544cead3e6089605a44fea34ec01f31a')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd build
|
||||||
|
make DESTDIR="${pkgdir}/" install
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user