# $Id: PKGBUILD 266875 2017-11-15 14:29:11Z foutrelis $ # Maintainer: Erich Eckner # Contributor: Sergej Pupykin # Contributor: Andrea Scarpino # Contributor: Roman Kyrylych # Contributor: Michal Kaliszka # Contributor: Zsolt Varadi # Contributor: Holger Rauch < holger dot rauch at posteo dot de > pkgname=tea-qt pkgver=60.3.0 pkgrel=2 pkgdesc="A Qt-based text editor for Linux and *BSD with an ultimate small size, providing hundreds of functions" arch=('i686' 'pentium4' 'x86_64') url="http://semiletov.org/tea/" license=('GPL') _pinned_dependencies=( 'aspell=0.60.8' 'djvulibre=3.5.28' 'gcc-libs=11.1.0' 'glibc>=2.31' 'hunspell=1.7.0' 'libpoppler-qt5.so=1' 'qt5-base=5.15.2+kde+r199' 'zlib=1:1.2.11' ) depends=('qt5-declarative' 'desktop-file-utils' "${_pinned_dependencies[@]}") makedepends=('cmake') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/psemiletov/tea-qt/archive/${pkgver}.tar.gz") sha512sums=('77d90854612b8561c3a008b7de9c3cd2b35a8ce8b1da57ee19527b4f5767385c6056d9eb1fe1f9b2d01f677b19ce2e81bb7c6d36f239379c699967a3be230e50') provides=("tea=${pkgver}") conflicts=('tea') replaces=('tea') build() { mkdir -p "${srcdir}/${pkgname}-${pkgver}/b" cd "${srcdir}/${pkgname}-${pkgver}/b" cmake .. -DCMAKE_INSTALL_PREFIX=/usr make } package(){ cd "${srcdir}/${pkgname}-${pkgver}/b" make DESTDIR="${pkgdir}" install }