blob: 23ca821cf04cf4a2a6739be2bc7ddcd22f1bf944 (
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
42
|
# Maintainer: Martins Mozeiko <martins.mozeiko@gmail.com>
pkgname=glcapsviewer-git
pkgver=r139.eb621b2
pkgrel=1
pkgdesc='OpenGL Hardware Capability Viewer'
url='https://opengl.gpuinfo.org/'
arch=('i686' 'x86_64')
license=('GPL3')
source=('git+https://github.com/SaschaWillems/glCapsViewer'
'https://github.com/SaschaWillems/glCapsViewer/pull/15.patch'
'glcapsviewer.desktop')
sha256sums=('SKIP'
'1bbc59c259e18a550d788688be7a731e1f379ee08902759cf3e802123b745493'
'3ff750cda95917ff93388dd373437b12129427bc33e52343247bf69bf1d24c02')
makedepends=('git' 'cmake')
depends=('glew' 'glfw' 'qt5-base')
pkgver() {
cd "$srcdir"/glCapsViewer
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir"/glCapsViewer
patch -p1 -i "$srcdir"/15.patch
}
package() {
cd "$srcdir"/glCapsViewer
cmake .
cmake --build .
install -dm755 "$pkgdir"/usr/bin
install -m755 "$srcdir"/glCapsViewer/glcapsviewer "$pkgdir"/usr/bin/glcapsviewer
install -dm755 "$pkgdir"/usr/share/applications
install -m644 "$srcdir"/glcapsviewer.desktop "$pkgdir"/usr/share/applications/glcapsviewer.desktop
}
|