summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1fb16803012fd4206ddf3ed893b1ea0237133371 (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
# Maintainer: basigur

pkgname=joxi
pkgver=3.0.9
pkgrel=7
pkgdesc="Free tool for screen capture"
arch=('x86_64')
url="http://joxi.net"
license=('custom')
depends=('qt5-declarative' 'qt5-x11extras' 'qt5-base' 'qt5-script' 'qt5-xmlpatterns' 'qt5-multimedia' 'libgl' 'libx11' 'libstdc++5' 'libxdamage' 'glib2' 'gtk2' 'libmcrypt' 'libcurl-compat' 'libappindicator-gtk2')
source_x86_64=("http://dl.${pkgname}.ru/linux/${pkgname}-net_x86_64-fr.rpm")
optdepends=('qt5-quick1-git')
sha512sums_x86_64=('89a545cea55b1b9afcd1dddd6fa82bf08188939e1fec97e7192b2fe1d4aa875112edd22848d9d22192f05bfe7e2db47af7c73c3e5ffb7cee81c2e625b88fd849')

package() {
  cd "$srcdir"
	install -D -m755 "${srcdir}/usr/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
	install -D -m644 "${srcdir}/usr/share/applications/Joxi.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
	sed -i 's!/opt/joxi/icon_64!joxi!' $pkgdir/usr/share/applications/${pkgname}.desktop
	sed -i 's!/usr/bin/joxi!joxi!' $pkgdir/usr/share/applications/${pkgname}.desktop

	install -D -m644 "${srcdir}/opt/${pkgname}/icon_64.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
	install -D -m644 "${srcdir}/opt/${pkgname}/icon_light.png" "${pkgdir}/usr/share/pixmaps/${pkgname}-tray.png"
}