pkgname=pacmanlogviewer pkgver=1.3.1 pkgrel=2 pkgdesc="Inspect pacman log file." arch=('x86_64') url='https://opendesktop.org/content/show.php?content=150484' license=('GPL') depends=('qt5-base') makedepends=('qt5-tools' 'cmake') provides=('pacmanlogviewer-qt5') conflicts=('pacmanlogviewer-qt5') replaces=('pacmanlogviewer-qt5') categories=('system') source=("http://qt-apps.org/CONTENT/content-files/150484-$pkgname-$pkgver.tar.gz") md5sums=('da1bb1c4573b20dc4d2ff764a25c0479') build() { cd "${srcdir}/${pkgname}-${pkgver}" mkdir build && cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_WITH_QT5=ON make } package() { cd "${srcdir}/${pkgname}-${pkgver}/build" make DESTDIR="${pkgdir}" install }