blob: ddcc9c8c8c4bb27388aaa77578107ec358891a9c (
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
|
# Maintainer: Philipp A. <flying-sheep@web.de>
# Contributor: Harry Jeffery <harry|@|exec64|.|co|.|uk>
# Contributor: Dan Vratil <vratil@progdansoft.com>
pkgname=qt-inspector-qt5-git
pkgver=r70.0e538d3
pkgrel=1
pkgdesc='A tool to visualize tree of widgets in a Qt application'
url='https://github.com/robertknight/Qt-Inspector'
arch=(i686 x86_64)
license=(GPL3)
depends=(qt5-base protobuf)
makedepends=(git cmake)
source=('git+https://github.com/robertknight/Qt-Inspector')
sha1sums=(SKIP)
pkgver() {
cd Qt-Inspector
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd Qt-Inspector
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DUSE_QT5=ON
make
}
package() {
cd Qt-Inspector
make DESTDIR="$pkgdir" install
}
|