summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristoph Haag2017-01-06 12:07:11 +0100
committerChristoph Haag2017-01-06 12:07:11 +0100
commit72a3e6ae5044e68f0719c5fb1c4be5a1b3848937 (patch)
tree8d2aa27f7de62c43c48a9e46d0b99e66fd4e96d6 /PKGBUILD
parent9debcd2181b2522ab3647cbd69ee062deed22cba (diff)
downloadaur-72a3e6ae5044e68f0719c5fb1c4be5a1b3848937.tar.gz
remove unneeded files and install headers
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fca522b541c..c8de021282b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,7 +34,12 @@ build() {
package() {
cd "$srcdir/OSVR-Display-build"
make DESTDIR="$pkgdir/" install
+ rm -rf "$pkgdir"/usr/lib/libdocopt* "$pkgdir"/usr/lib/cmake/docopt/ "$pkgdir"/usr/include/docopt/
mv "$pkgdir/usr/lib64" "$pkgdir/usr/lib" || true
+
+ install -d "$pkgdir/usr/include"
+ cp -ra "$srcdir/OSVR-Display/osvr" "$pkgdir"/usr/include
+ ln -s Display "$pkgdir"/usr/include/osvr/display
}
# vim:set ts=2 sw=2 et: