blob: 8abcacf905d629e5363718afb4d4dfb909c8d65c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Alexander Monakov <amonakov@gmail.com>
pkgname=primus
pkgver=20130425
pkgrel=1
pkgdesc="Faster OpenGL offloading for Bumblebee"
arch=('i686' 'x86_64')
url="https://github.com/amonakov/primus"
license=('custom:ISC')
depends=('bumblebee')
makedepends=('git')
source=("git://github.com/amonakov/primus.git#commit=31ca47e644")
sha1sums=('SKIP')
build() {
cd primus
make
}
package() {
cd primus
install -D "lib/libGL.so.1" "$pkgdir/usr/lib/primus/libGL.so.1"
sed -e "s#^PRIMUS_libGL=.*#PRIMUS_libGL='/usr/\$LIB/primus'#" primusrun > primusrun.dist
install -D "primusrun.dist" "$pkgdir/usr/bin/primusrun"
install -D "primus.bash-completion" "$pkgdir/etc/bash_completion.d/primusrun"
gzip -9 "primusrun.1"
install -D "primusrun.1.gz" "$pkgdir/usr/share/man/man1/primusrun.1.gz"
install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
|