blob: 7b42ff98fcb91a304903308f73a732de929edae3 (
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
|
# Maintainer: Christopher Hamilton <marker5a@gmail.com>
pkgname=easyterm
_gitname=easyterm
pkgver=0.9.2
pkgrel=2
pkgdesc='Serial Port Terminal Emulator'
arch=('x86_64' 'i686')
url='https://github.com/marker5a/EasyTerm'
license=('GPLv3')
depends=('qt5-serialport')
makedepends=('git' 'qt5-base')
optdepends=()
provides=(easyterm)
replaces=(easyterm)
conflicts=(easyterm-git)
source=('easyterm::git+https://github.com/marker5a/EasyTerm.git#tag=v0.9.2')
md5sums=('SKIP')
build() {
cd "$srcdir/$_gitname"
qmake-qt5 .
make
}
package() {
mkdir -p "$pkgdir/usr/bin"
mkdir -p "$pkgdir/usr/share/icons/hicolor/48x48/apps"
mkdir -p "$pkgdir/usr/share/applications"
cp "$srcdir/$_gitname/release/EasyTerm" "$pkgdir/usr/bin"
cp "$srcdir/$_gitname/resources/easyterm.png" "$pkgdir/usr/share/icons/hicolor/48x48/apps"
cp "$srcdir/$_gitname/easyterm.desktop" "$pkgdir/usr/share/applications/"
}
# vim:set ts=2 sw=2 et:
|