# Maintainer: Michael Hansen pkgname=qtextpad pkgdesc="Lightweight cross-platform text editor using KF5's syntax highlighting repository." pkgver=1.0 pkgrel=1 arch=('i686' 'x86_64') url='https://github.com/zrax/qtextpad' license=('GPL3') depends=('syntax-highlighting' 'file') makedepends=('cmake') source=("git+https://github.com/zrax/${pkgname}#tag=${pkgver}") sha256sums=('SKIP') build() { mkdir -p "${srcdir}/build" cd "${srcdir}/build" cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ "${srcdir}/${pkgname}" make } package() { cd "${srcdir}/build" make DESTDIR="${pkgdir}" install }