New package: primus-20130828.
This commit is contained in:
parent
7322d614f3
commit
6813e3e253
1 changed files with 33 additions and 0 deletions
33
srcpkgs/primus/template
Normal file
33
srcpkgs/primus/template
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Template file for 'primus'
|
||||
pkgname=primus
|
||||
version=20130828
|
||||
revision=1
|
||||
makedepends="libX11-devel MesaLib-devel"
|
||||
short_desc="Faster OpenGL offloading for Bumblebee"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="ISC"
|
||||
homepage="https://github.com/amonakov/primus"
|
||||
only_for_archs="i686 x86_64"
|
||||
|
||||
do_fetch() {
|
||||
git clone git://github.com/amonakov/primus.git ${pkgname}-${version}
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vinstall lib/libGL.so.1 755 usr/lib/primus
|
||||
vinstall primusrun 755 usr/bin
|
||||
sed -e "s#^PRIMUS_libGL=.*#PRIMUS_libGL='/usr/\$LIB/primus'#" -i ${DESTDIR}/usr/bin/primusrun
|
||||
vinstall primus.bash-completion 644 usr/share/bash-completion/completions primusrun
|
||||
vinstall primusrun.1 644 usr/share/man/man1
|
||||
vinstall LICENSE.txt 644 usr/share/licenses/$pkgname LICENSE
|
||||
}
|
||||
|
||||
primus_package() {
|
||||
pkg_install() {
|
||||
vmove all
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue