desktop/qgit/PKGBUILD
2018-06-27 11:15:15 +02:00

25 lines
560 B
Bash

pkgname=qgit
pkgver=2.8
pkgrel=1
pkgdesc="A GIT GUI viewer built on Qt/C++"
url='https://github.com/tibirna/qgit'
arch=('x86_64')
license=('GPL')
depends=('qt5-base' 'git' 'hicolor-icon-theme')
makedepends=('cmake')
categories=('programming')
source=("${pkgname}::git+https://github.com/tibirna/qgit.git#tag=${pkgname}-${pkgver}")
sha256sums=('SKIP')
build() {
cd ${srcdir}/${pkgname}
rm -rf build && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX="/usr" ..
make
}
package() {
cd ${srcdir}/${pkgname}/build
make DESTDIR=${pkgdir} install
}