summaryrefslogtreecommitdiff
path: root/community/ktechlab/PKGBUILD
blob: ac59910d636ca2601aa5d6f619b397209a561b40 (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
# $Id: PKGBUILD 58604 2011-11-16 15:28:16Z spupykin $
# Maintainer: JJDaNiMoTh <jjdanimoth.aur@gmail.com>

pkgname=ktechlab
pkgver=0.3.7
pkgrel=3
pkgdesc="IDE for electronic circuits and microcontrollers"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/ktechlab"
license=("GPL")
depends=('kdelibs3' 'gputils' 'gpsim')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
	"$pkgname-gcc45.patch::http://patch-tracker.debian.org/patch/series/dl/ktechlab/0.3.7-10/40-gcc-4.5.patch")
md5sums=('8e778ef8ce6d0dd4539f5532c933f6bf'
         '126a04255a8288a7ee42fe47a81c0079')

build() {
  . /etc/profile.d/qt3.sh
  cd "${srcdir}/${pkgname}-$pkgver"
  patch -p1 <$srcdir/$pkgname-gcc45.patch
  ./configure --prefix=/opt/kde \
    --disable-debug \
    --without-arts
  make
}

package() {
  cd "${srcdir}/${pkgname}-$pkgver"
  make DESTDIR="${pkgdir}" install
}