Last active
February 27, 2019 16:46
-
-
Save poqudrof/184c3f615928a63d54105d31f674c1c3 to your computer and use it in GitHub Desktop.
PKGBUILD for Orbbec Astra S - Updated to 2.3.0 - 55 the latest version in Feb 2019.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Jeremy Laviole <laviole@rea.lity.tech> | |
## Build without integrity check for now makepkg --skipinteg -f | |
pkgname="openni-astra" | |
pkgver=2.3.0 | |
pkgrel=55 | |
epoch= | |
pkgdesc="" | |
arch=('x86_64') | |
url="https://orbbec3d.com/develop/" | |
license=('Unknown') | |
groups=() | |
depends=() | |
makedepends=() | |
checkdepends=() | |
optdepends=() | |
provides=() | |
conflicts=() | |
replaces=() | |
backup=() | |
options=() | |
install= | |
changelog= | |
source=("http://dl.orbbec3d.com/dist/openni2/OpenNI_$pkgver.$pkgrel.zip") | |
md5sums=('ba904070a850f8af52ed868044064e4c') | |
noextract=() | |
validpgpkeys=() | |
prepare() { | |
cd . | |
} | |
build() { | |
cd . | |
} | |
check() { | |
cd . | |
} | |
package() { | |
cd $srcdir/OpenNI_$pkgver.$pkgrel/Linux/OpenNI-Linux-x64-$pkgver.$pkgrel | |
## Includes | |
mkdir -p $pkgdir/usr/include/ | |
cp Include/*.h $pkgdir/usr/include/ | |
cp -R Include/Linux-x86 $pkgdir/usr/include/Linux-x86 | |
cp -R Include/Driver $pkgdir/usr/include/Driver | |
## Rules | |
mkdir -p $pkgdir/etc/udev/rules.d | |
cp orbbec-usb.rules $pkgdir/etc/udev/rules.d/558-orbbec-usb.rules | |
## Library | |
mkdir -p $pkgdir/usr/lib | |
cp -r Redist/*.so $pkgdir/usr/lib/ | |
cp -r Redist/*.ini $pkgdir/usr/lib | |
cp -r Redist/OpenNI2 $pkgdir/usr/lib | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to use:
Last edit: Feb 2019