summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1be4431c9767e81ee71772275e3a9613dee6a8c7 (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
49
50
51
52
53
54
55
56
57
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Leone <comdir@infonix.info>
pkgname=litemanager
pkgver=5.131
pkgrel=1
epoch=
pkgdesc="remote access software for remote administration of computers over the Internet or remote control in a local network, for distant learning, providing remote support to users and supervising work activity of employees."
arch=('x86_64')
url="https://www.litemanager.com"
license=('custom')
groups=()
depends=()
makedepends=('gendesk')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://litemanager.com/soft/LiteManager_linux.zip"
litemanager.png)

noextract=()
md5sums=('SKIP'
         'ce19ee278e856d0e17610979ede081b4')

validpgpkeys=()

prepare() {
	
  echo "Creating desktop file"
  gendesk -f -n --pkgname ${pkgname} \
    --pkgdesc "${pkgdesc}" \
    --categories="GTK;GNOME;X-GNOME-NetworkSettings;Network;" \
    --icon "/usr/share/pixmaps/${pkgname}.png" \
    --exec "litemanager"
	
}



package() {
 # mv "litemanager.png" "${srcdir}/litemanager.png"
  install -d "${pkgdir}/" "$pkgdir/opt/${pkgname}"
  install -Dm755 "${srcdir}/LiteManager" "$pkgdir/opt/litemanager/litemanager"
  mkdir -p $pkgdir/usr/bin
  ln -s "/opt/litemanager/litemanager" "$pkgdir/usr/bin/litemanager"
  install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  install -Dm644 "${srcdir}/litemanager.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
}