blob: 40a456e1a1b4608e4c2839c4dbc0b92bfb27a64b (
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
|
# Maintainer: f4iey <f4iey@f4iey.fr>
pkgname=cloudlogcatqt-git
pkgver=r45.c067920
pkgrel=1
pkgdesc="Qt app (Linux, Windows, Mac) for providing CAT support for Cloudlog"
arch=('any')
license=('GPL3')
url="https://github.com/myzinsky/CloudLogCatQt"
makedepends=(git)
depends=(
qt5-base
)
optdepends=(flrig)
source=(
$pkgname::"git+$url.git"
)
sha256sums=('SKIP')
prepare(){
git -C "$srcdir/$pkgname" clean -dfx
}
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build(){
cd "$srcdir/$pkgname"
mkdir build
cd build
qmake ../CloudLogCatQt.pro
make
}
package() {
cd $srcdir/$pkgname/build
install -Dm755 CloudLogCatQt $pkgdir/usr/bin/CloudLogCatQt
}
|