updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / qelectrotech / PKGBUILD
blob7bde225021536c787159117fe0091c46fd3fa33d
1 # Contributor: Nick B <Shirakawasuna at gmail _dot_com>
2 # Maintainer: moostik <mooostik_at_gmail.com>
3 pkgname=qelectrotech
4 pkgver=0.22
5 pkgrel=2
6 pkgdesc="An electric diagram editor"
7 arch=('i686' 'x86_64')
8 url="http://qelectrotech.tuxfamily.org/"
9 install='qelectrotech.install'
10 license=('GPL2')
11 depends=('qt' 'shared-mime-info')
12 source=(http://download.tuxfamily.org/qet/tags/20100313/qelectrotech-$pkgver-src.tar.gz)
14 build() {
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
18   qmake
19   make
22 package() {
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/
27 rm -r $pkgdir/share
30 md5sums=('963227ca352784249b59bddd1e30a5e6')