diff options
author | Lubosz Sarnecki | 2016-10-04 19:59:25 +0200 |
---|---|---|
committer | Lubosz Sarnecki | 2016-10-04 19:59:25 +0200 |
commit | f846b039115d86171a4ae84892309cc3f2ab2681 (patch) | |
tree | 313e67a0ac0e7521288481cc9678af44fb6c1f12 /PKGBUILD | |
parent | 76aa62817d577f77a7edbc893158dc5179d5937e (diff) | |
download | aur-osvr-vive-libre-git.tar.gz |
change upstream url. build in src dir.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -1,5 +1,5 @@ pkgname=osvr-vive-libre-git -pkgver=0.2.110.f5282e8 +pkgver=0.2.127.68fbc21 pkgrel=1 pkgdesc="Free Software HTC Vive Driver for OSVR" arch=('x86_64') @@ -7,7 +7,7 @@ url="https://github.com/lubosz/OSVR-Vive-Libre" license=('LGPLv3+') makedepends=('git' 'cmake') depends=('osvr-core-git' 'zlib' 'hidapi' 'jsoncpp' 'opencv' 'eigen') -source=("osvr-vive::git+https://github.com/lubosz/OSVR-Vive-Libre.git") +source=("git+https://github.com/collabora/OSVR-Vive-Libre.git") md5sums=('SKIP') @@ -23,22 +23,17 @@ pkgver() { echo $(subver MAJOR).$(subver MINOR).$revision.$hash } -prepare() { - cd osvr-vive - mkdir -p "$srcdir/osvr-vive-build" -} - build() { - cd osvr-vive-build + cd OSVR-Vive-Libre cmake -DCMAKE_INSTALL_PREFIX=/usr/ \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DCMAKE_BUILD_TYPE=Release \ - ../osvr-vive + . make } package() { - cd osvr-vive-build + cd OSVR-Vive-Libre make DESTDIR="$pkgdir/" install } |