updated on Tue Jan 17 00:10:10 UTC 2012
[aur-mirror.git] / cobras / PKGBUILD
blob74ec5777d5c4bb3235aa406782b354b082050383
1 # Contributor: DuGi <dugi@irc.pl>
3 pkgname=cobras
4 pkgver=0.18
5 pkgrel=1
6 pkgdesc="An IDE for linux programmers."
7 arch=('i686' 'x86_64')
8 url="http://www.beesoft.org/index.php?id=cobras"
9 license=('GPL')
10 depends=('qt')
11 source=(http://www.beesoft.org/download/${pkgname}_${pkgver}_src.tar.gz \
12         $pkgname.desktop)
14 md5sums=('7f5d6a2337b4f9922fe0b6009ff35702'
15          '8fcfe0da670fc8da748dce30f9cc9218')
17 build() {
18   cd "${srcdir}/$pkgname"
20   qmake || return 1
21   make || return 1
22   install -D -m755 "$pkgname" "${pkgdir}/usr/bin/$pkgname" || return 1
23   install -D -m644 "./img/cobras.png" "${pkgdir}/usr/share/pixmaps/$pkgname.png" || return 1
24   install -D -m644 "${srcdir}/$pkgname.desktop" "${pkgdir}/usr/share/applications/$pkgname.desktop" || return 1