diff options
Diffstat (limited to 'community/qdevelop/PKGBUILD')
-rw-r--r-- | community/qdevelop/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community/qdevelop/PKGBUILD b/community/qdevelop/PKGBUILD new file mode 100644 index 000000000..79b962488 --- /dev/null +++ b/community/qdevelop/PKGBUILD @@ -0,0 +1,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') +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 +} |