mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
25 lines
560 B
Bash
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
|
|
}
|