AUR/packages/codelite/PKGBUILD

29 lines
659 B
Bash
Raw Normal View History

2022-06-07 04:07:04 +03:00
# Maintainer: Alexander Popov <iiiypuk (at) fastmail.fm>
pkgname=codelite
pkgver=16.0.0
pkgrel=1
pkgdesc='A multi purpose IDE specialized in C/C++/Rust/Python/PHP and Node.js. Written in C++'
arch=('x86_64')
url="http://packages.debian.org/${pkgname}"
license=('GPL')
depends=('wxgtk2')
makedepends=('gcc' 'cmake')
optdepends=('fakeroot')
source=(
https://github.com/eranif/codelite/archive/refs/tags/${pkgver}.zip
)
md5sums=('76a095d87e39d1271f9500225cd263c2')
build() {
cd "${pkgname}-${pkgver}"
# Build
cmake -DCMAKE_BUILD_TYPE=Release . -DCOPY_WX_LIBS=1
make -j$(nproc)
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}