primus: bump to today's git code.

This commit is contained in:
Juan RP 2014-11-23 10:31:09 +01:00
parent fbc927b2cc
commit 6640ef3e74

View file

@ -1,6 +1,6 @@
# Template file for 'primus' # Template file for 'primus'
pkgname=primus pkgname=primus
version=20130828 version=20141123
revision=1 revision=1
hostmakedepends="git" hostmakedepends="git"
makedepends="libX11-devel MesaLib-devel" makedepends="libX11-devel MesaLib-devel"
@ -13,16 +13,14 @@ only_for_archs="i686 x86_64"
do_fetch() { do_fetch() {
git clone git://github.com/amonakov/primus.git ${pkgname}-${version} git clone git://github.com/amonakov/primus.git ${pkgname}-${version}
} }
do_build() { do_build() {
make make ${makejobs}
} }
do_install() { do_install() {
vinstall lib/libGL.so.1 755 usr/lib/primus vinstall lib/libGL.so.1 755 usr/lib/primus
vinstall primusrun 755 usr/bin vbin primusrun
vman primusrun.1
sed -e "s#^PRIMUS_libGL=.*#PRIMUS_libGL='/usr/\$LIB/primus'#" -i ${DESTDIR}/usr/bin/primusrun 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 primus.bash-completion 644 usr/share/bash-completion/completions primusrun
vinstall primusrun.1 644 usr/share/man/man1 vlicense LICENSE.txt LICENSE
vinstall LICENSE.txt 644 usr/share/licenses/$pkgname LICENSE
} }