blob: fe34376379167d25aa946815aa519f507eb1a582 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $Id$
# Maintainer: Adriano Foschi <adri.foschi@gmail.com>
_pkgname=qgit
pkgname=$_pkgname-git
pkgver=original.143.g7b8f1ff
pkgrel=1
pkgdesc="A GIT GUI viewer built on Qt/C++"
url='https://github.com/tibirna/qgit/'
arch=('x86_64')
license=('GPL')
provides=("$_pkgname")
conflicts=("$_pkgname")
makedepends=('cmake')
depends=('qt5-base' 'git' 'hicolor-icon-theme')
optdepends=('source-highlight')
#source=("${pkgname}::git://repo.or.cz/qgit4/redivivus.git#tag=${pkgname}-${pkgver}")
source=("git+https://github.com/tibirna/$_pkgname.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --always | sed "s/-/./g"
}
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
}
|