This commit is contained in:
positivcheg94 2016-02-29 17:05:48 +02:00
commit bec5ef4926
2 changed files with 43 additions and 0 deletions

16
.SRCINFO Normal file
View File

@ -0,0 +1,16 @@
# Generated by makepkg 5.0.1
# Mon Feb 29 14:56:16 UTC 2016
pkgbase = librealsense
pkgdesc = Librealsense is a cross-platform library (Linux, OSX, Windows) for capturing data from the Intel® RealSense™ F200, SR300 and R200 cameras
pkgver = 0.9
pkgrel = 1
url = https://github.com/IntelRealSense/librealsense
arch = any
license = Apache
depends = glfw>=3,libusb,
depends = qtcreator
source = https://github.com/IntelRealSense/librealsense/archive/v0.9.tar.gz
md5sums = 8b30a944b51a9ff3fa00f2d1652ae9d9
pkgname = librealsense

27
PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
# Maintainer: Yang <positivcheg94@gmail.com>
pkgname=librealsense
pkgver=0.9
pkgrel=1
pkgdesc="Librealsense is a cross-platform library (Linux, OSX, Windows) for capturing data from the Intel RealSense F200, SR300 and R200 cameras"
arch=(any)
url="https://github.com/IntelRealSense/librealsense"
license=('Apache')
makedepends=()
depends=('glfw>=3','libusb',
'qtcreator')
changelog=''
source=("https://github.com/IntelRealSense/librealsense/archive/v${pkgver}.tar.gz")
md5sums=('8b30a944b51a9ff3fa00f2d1652ae9d9')
build() {
cd "$pkgname-$pkgver"
make
}
package() {
cd $srcdir/$pkgname-$pkgver/
install -m644 -d $pkgdir/lib/$pkgname/ $pkgdir/include/$pkgname/
cp -r lib/* $pkgdir/lib/$pkgname/
cp -r include/$pkgname/* $pkgdir/include/$pkgname/
}