blob: b58b5fb0b44fe55d5d4556464e00324137fdea39 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer (AUR): robertfoster
# Contributor (AUR): sirocco
# Contributor: Esteban Carnevale <alfplayer@mailoo.org>
# parabola changes and rationale:
# - changed tarball name to avoid collisions
# - added icon cache update to .install file
# - added missing depends: libxinerama
pkgname=italc
pkgver=3.0.3
pkgrel=2
pkgdesc="Classroom management software which enables teachers to view and control computers"
arch=('i686' 'x86_64' 'armv7h')
url="http://italc.sourceforge.net/"
license=('GPL')
depends=('qt5-base' 'libxrandr' 'libxtst' 'pam' 'openssl' 'libjpeg-turbo' 'zlib' 'libxinerama')
makedepends=('cmake' 'qt5-tools')
install=$pkgname.install
source=("$pkgname-$pkgver.tar.gz::https://github.com/iTALC/italc/archive/v$pkgver.tar.gz"
italc.service
italc.desktop)
build() {
cd $srcdir/$pkgname-$pkgver
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
make
}
package() {
cd $srcdir/$pkgname-$pkgver
cd build
make install DESTDIR=$pkgdir
cd ..
# Install Icon and Shortcut
install -D ima/data/italc.xpm $pkgdir/usr/share/pixmaps/italc.xpm
install -D ../italc.desktop $pkgdir/usr/share/applications/italc.desktop
# Install systemd service
install -D ../italc.service $pkgdir/usr/lib/systemd/system/italc.service
}
md5sums=('c52919cd6d726c4cc7a85bc5bea6c376'
'4a00d5f3a8fe08ce614d75d5684a3b1e'
'c01c880149184705c0a0118f97e7af5c')
|