commit bec5ef4926b2c247fd942781f2b4e13e076a5b18 Author: positivcheg94 Date: Mon Feb 29 17:05:48 2016 +0200 v0.9-1 diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..a264961 --- /dev/null +++ b/.SRCINFO @@ -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 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..5113d15 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Yang +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/ +}