desktop/qgit/PKGBUILD

35 lines
1.0 KiB
Bash
Raw Normal View History

2014-04-19 06:51:45 +08:00
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
2010-10-11 00:12:49 +08:00
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=qgit
2014-04-19 06:51:45 +08:00
pkgver=2.5
pkgrel=1
2010-10-11 00:12:49 +08:00
pkgdesc="A GIT GUI viewer built on Qt/C++"
2014-04-19 06:51:45 +08:00
url='http://libre.tibirna.org/projects/qgit/wiki/QGit'
arch=('x86_64')
2010-10-11 00:12:49 +08:00
license=('GPL')
depends=('qt' 'git')
categories=('programming')
2010-10-11 00:12:49 +08:00
options=(!makeflags !ccache) #makepkg3 options, ccache is a no-go
2014-04-19 06:51:45 +08:00
source=("http://libre.tibirna.org/attachments/download/9/${pkgname}-${pkgver}.tar.gz"
2010-10-11 00:12:49 +08:00
'qgit.desktop' 'qgit.png')
2014-04-19 06:51:45 +08:00
md5sums=('0e70fc4468b060ab042933497f6a6f3c'
2010-10-11 00:12:49 +08:00
'a2563e1f23db6a68b19ed5cae7add3f9'
'85138f44d577b03dfc738d3f27e04992')
build() {
2014-04-19 06:51:45 +08:00
cd ${srcdir}/redivivus
2010-10-11 00:12:49 +08:00
qmake qgit.pro
make || return 1
}
package() {
2014-04-19 06:51:45 +08:00
cd ${srcdir}/redivivus
2010-10-11 00:12:49 +08:00
install -Dm755 bin/qgit ${pkgdir}/usr/bin/qgit || return 1
install -Dm644 ${srcdir}/qgit.desktop ${pkgdir}/usr/share/applications/qgit.desktop || return 1
install -Dm644 ${srcdir}/qgit.png ${pkgdir}/usr/share/pixmaps/qgit.png || return 1
}