1 # Contributor: Nick B <Shirakawasuna at gmail _dot_com>
2 # Maintainer: moostik <mooostik_at_gmail.com>
6 pkgdesc="An electric diagram editor"
8 url="http://qelectrotech.tuxfamily.org/"
9 install='qelectrotech.install'
11 depends=('qt' 'shared-mime-info')
12 source=(http://download.tuxfamily.org/qet/tags/20100313/qelectrotech-$pkgver-src.tar.gz)
15 cd $srcdir/qelectrotech-$pkgver-src
16 sed -i s,usr\/local,usr,g qelectrotech.pro
17 sed -i s,..\/share\/mime\/,share\/mime\/,g qelectrotech.pro
23 cd $srcdir/qelectrotech-$pkgver-src
24 make INSTALL_ROOT=$pkgdir install
25 mv $pkgdir/usr/doc $pkgdir/usr/share/
26 mv $pkgdir/usr/man $pkgdir/usr/share/
30 md5sums=('963227ca352784249b59bddd1e30a5e6')