[arch-commits] Commit in opencsg/repos (4 files)
Kyle Keen
kkeen at nymeria.archlinux.org
Mon Feb 10 04:53:52 UTC 2014
Date: Monday, February 10, 2014 @ 05:53:52
Author: kkeen
Revision: 105548
archrelease: copy trunk to community-i686, community-x86_64
Added:
opencsg/repos/community-i686/
opencsg/repos/community-i686/PKGBUILD
(from rev 105547, opencsg/trunk/PKGBUILD)
opencsg/repos/community-x86_64/
opencsg/repos/community-x86_64/PKGBUILD
(from rev 105547, opencsg/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
Copied: opencsg/repos/community-i686/PKGBUILD (from rev 105547, opencsg/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-02-10 04:53:52 UTC (rev 105548)
@@ -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
+}
+
Copied: opencsg/repos/community-x86_64/PKGBUILD (from rev 105547, opencsg/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-02-10 04:53:52 UTC (rev 105548)
@@ -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
+}
+
More information about the arch-commits
mailing list