updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / italc / PKGBUILD
blob2e5e65ef8e8e878a8c60aa0dc6f747b8b91ecdfd
1 # Maintainer: M0Rf30
2 pkgname=italc
3 pkgver=2.0.0
4 pkgrel=2
5 pkgdesc="Classroom management software which enables teachers to view and control computers"
6 arch=('i686' 'x86_64')
7 url="http://italc.sourceforge.net/"
8 license=('GPL')
9 depends=('qt' 'libxtst' 'libxinerama' 'openssl' 'libjpeg' 'zlib')
10 makedepends=('cmake')
11 install=$pkgname.install
12 source=(http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
13         italc
14         italc.desktop)
15 build() {
16         cd $srcdir/$pkgname-$pkgver
17         install -D ima/data/italc.xpm $pkgdir/usr/share/pixmaps/italc.xpm
18         install -D ../italc.desktop $pkgdir/usr/share/applications/italc.desktop
19         cmake . -DCMAKE_INSTALL_PREFIX=/usr -DLIB_DIR=/usr/lib
20         make
21         make install DESTDIR=$pkgdir
22         mv $pkgdir/usr/lib64 $pkgdir/usr/lib
23         mkdir -p $pkgdir/etc/rc.d
24         cp -f ../italc $pkgdir/etc/rc.d
25         chmod +x $pkgdir/etc/rc.d/italc
26         
29 md5sums=('bcc37a2ecdfe9d7432891f7532f99e89'
30          '313c31ae7f1cb418a16939c12a714add'
31          'c01c880149184705c0a0118f97e7af5c')