[arch-commits] Commit in (opencsg opencsg/repos opencsg/trunk opencsg/trunk/PKGBUILD)
Kyle Keen
kkeen at nymeria.archlinux.org
Mon Feb 10 04:52:58 UTC 2014
Date: Monday, February 10, 2014 @ 05:52:57
Author: kkeen
Revision: 105547
pkginit: opencsg-1.3.2-2
Added:
opencsg/
opencsg/repos/
opencsg/trunk/
opencsg/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Added: opencsg/trunk/PKGBUILD
===================================================================
--- opencsg/trunk/PKGBUILD (rev 0)
+++ opencsg/trunk/PKGBUILD 2014-02-10 04:52:57 UTC (rev 105547)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Maintainer: Xyne <ca dot archlinux at xyne, backwards>
+# Contributor: nikor
+
+pkgname=opencsg
+pkgver=1.3.2
+pkgrel=2
+pkgdesc="Library for image-based CSG rendering using OpenGL."
+arch=('i686' 'x86_64')
+license=('GPL2')
+depends=('glew' 'glut' 'mesa')
+url="http://www.opencsg.org"
+source=(http://www.opencsg.org/OpenCSG-${pkgver}.tar.gz)
+sha1sums=('e2b4abf169ae3e319eb5f6d9ae6136fa96710a05')
+
+build() {
+ cd -- "${srcdir}/OpenCSG-${pkgver}"
+ sed -i 's|-rpath,../lib|-rpath,/usr/lib|' src/Makefile
+ make
+}
+
+package() {
+ cd -- "${srcdir}/OpenCSG-${pkgver}"
+ install -D lib/libopencsg.so.${pkgver} "$pkgdir/usr/lib/libopencsg.so.${pkgver}"
+ install -D include/opencsg.h "$pkgdir/usr/include/opencsg.h"
+ cd "$pkgdir/usr/lib/"
+ ln -s libopencsg.so.${pkgver} libopencsg.so.1.3
+ ln -s libopencsg.so.${pkgver} libopencsg.so.1
+ ln -s libopencsg.so.${pkgver} libopencsg.so
+}
+
Property changes on: opencsg/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list