RedPanda-CPP/packages/archlinux/PKGBUILD.in

34 lines
819 B
Bash

_pkgname=RedPanda-CPP
pkgname=${_pkgname,,}-git
pkgver=__VERSION__
pkgrel=1
pkgdesc='A fast, lightweight, open source, and cross platform C++ IDE (development version)'
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64' 'riscv64')
url="https://github.com/royqh1979/$_pkgname"
license=('GPL3')
depends=(qt5-base qt5-svg gcc gdb)
makedepends=(qt5-tools)
optdepends=(
'clang: C/C++ compiler (alternative)'
)
conflicts=("${_pkgname,,}")
provides=("${_pkgname,,}")
source=("$_pkgname.tar.gz")
sha256sums=('SKIP')
build() {
mkdir redpanda-build
cd redpanda-build
qmake \
PREFIX='/usr' \
LIBEXECDIR='/usr/lib' \
XDG_ADAPTIVE_ICON=ON \
"$srcdir/$_pkgname/Red_Panda_CPP.pro"
make
}
package() {
cd redpanda-build
make INSTALL_ROOT="$pkgdir" install
}