generated from archlinux/template
29 lines
764 B
Bash
29 lines
764 B
Bash
# 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/
|
|
}
|