# $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=63.1.0 pkgrel=1 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.1' 'djvulibre=3.5.28' 'gcc-libs=14.2.1+r134+gab884fffe3fc' 'glibc>=2.31' 'hunspell=1.7.2' 'libpoppler-qt5.so=1' 'libz.so=1' 'qt5-base=5.15.16+kde+r130' ) 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=('67ff5c246007d826b1d87d7b1d7f7534534d645e95ce566f12fc12de695befc30c9f1fd4fe2d64ff2c42e56fcbc360744303c87d6d1022152575156c60fdef71') 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 }