summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ded6cc4d63836d6d5b23100de5f8e24683f9aa2f (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
# Maintainer: Iztech LLC <iztech@iztech.ru>
pkgname=mit8
orgname=Iztech
pkgver=3.0.0
pkgrel=3
pkgdesc="Программа для управления измерителями температуры серии МИТ-8 производства ООО ИзТех"
url="https://www.iztech.ru"
license=(custom)
depends=("qt5" "qt5-serialport")
arch=('x86_64')
options=('!strip')
makedepends=("gendesk")
source=("$url/content/files/mit8-3.0.0-x86_64.tar.gz")
md5sums=('89b8d7683f2e2941188d768f118c6d85')

prepare() {
  gendesk --pkgname="$pkgname" --pkgdesc="$pkgdesc" --categories=Utility PKGBUILD
}

package() {
  install -Dm755 "$srcdir/mit8" "$pkgdir/usr/bin/$pkgname"
  install -Dm644 "$srcdir/resource/LICENSE" "$pkgdir/usr/share/licenses/$orgname/$pkgname/LICENSE"
  install -Dm644 "$srcdir/resource/COPYING.LESSER" "$pkgdir/usr/share/licenses/$orgname/$pkgname/COPYING.LESSER"
  install -Dm644 "$srcdir/resource/Manual_MIT8.pdf" "$pkgdir/usr/share/$orgname/$pkgname/docs/Manual_MIT8.pdf"
  install -Dm644 "$srcdir/resource/template/sqlite.db" "$pkgdir/usr/share/$orgname/$pkgname/template/sqlite.db"
  install -Dm644 "$srcdir/mit8.desktop" -t "$pkgdir/usr/share/applications"
  install -Dm644 "$srcdir/mit8.svg" "$pkgdir/usr/share/pixmaps/$pkgname.svg"

}