blob: 2eee1b1ed7043040d8322b35faf0a15aa78a04bc (
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
|
# Maintainer: Matteo Triggiani <davvore33@gmail.com>
pkgname=('elgato-gchd')
pkgver=0.2.0
pkgrel=1
pkgdesc="This project provides a userspace driver to natively support the Elgato Game Capture HD under Linux and Mac OS X. This is an unofficial driver and in no way supported by Elgato."
arch=('x86_64')
url="https://github.com/tolga9009/elgato-gchd"
license=('MIT')
makedepends=('cmake' 'git')
md5sums=('SKIP')
_gitroot='https://github.com/tolga9009'
_gitname='elgato-gchd'
source=("$_gitname"::git+"$_gitroot"/"$_gitname".git)
prepare(){
cd "${srcdir}/${_gitname}/"
git checkout tags/$pkgver
mkdir -p build && cd build
cmake ..
}
build() {
cd "${srcdir}/${_gitname}/build"
make
}
package() {
cd "${srcdir}/${_gitname}/build"
make DESTDIR="$pkgdir/" install
}
|