desktop/pacmanlogviewer/PKGBUILD

30 lines
745 B
Bash
Raw Normal View History

pkgname=pacmanlogviewer
2015-02-04 15:07:04 +08:00
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")
2015-02-04 15:07:04 +08:00
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
}