summaryrefslogtreecommitdiff
path: root/community/qdevelop/PKGBUILD
blob: bb8734422cfca1954dfa18d378f457e4a30b2109 (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
39
40
# Maintainer: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
# Contributor: Shaika-Dzari < shaikadzari at gmail dot com>
# Contributor: Zhukov Pavel <gelios@gmail.com>
# Contributor: Benjamin Kircher <benjamin.kircher@gmail.com>

pkgname=qdevelop
pkgver=0.28
pkgrel=1
pkgdesc='A free and cross-platform IDE for Qt4.'
arch=('i686' 'x86_64' 'mips64el')
url="http://biord-software.org/${pkgname}"
license=('GPL2')
depends=('qt')
makedepends=('unzip')
optdepends=('ctags: for code completion and class browser'
            'gdb: for debugging functionalities')
source=("http://biord-software.org/downloads/$pkgname-v$pkgver.tar.gz"
        'qdevelop.desktop')
md5sums=('24e64bd80dd7407a885acd639b59a740'
         'ade6437139807ca68c758c10913d6594')

build() {
  	cd ${srcdir}/${pkgname}-v${pkgver}
  	
	lrelease QDevelop.pro
  	qmake
  	make
}

package() {
	cd ${srcdir}/${pkgname}-v${pkgver}

	make INSTALL_ROOT="$pkgdir" install
	
	# Desktop
        install -Dm644 $srcdir/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
        install -Dm644 resources/images/logo.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
}