[arch-commits] Commit in opencsg/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Sep 28 20:53:48 UTC 2015


    Date: Monday, September 28, 2015 @ 22:53:48
  Author: foutrelis
Revision: 142154

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  opencsg/repos/community-staging-i686/
  opencsg/repos/community-staging-i686/PKGBUILD
    (from rev 142153, opencsg/trunk/PKGBUILD)
  opencsg/repos/community-staging-x86_64/
  opencsg/repos/community-staging-x86_64/PKGBUILD
    (from rev 142153, opencsg/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   33 +++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

Copied: opencsg/repos/community-staging-i686/PKGBUILD (from rev 142153, opencsg/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-28 20:53:48 UTC (rev 142154)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Maintainer: Xyne <ca dot archlinux at xyne, backwards>
+# Contributor: nikor
+
+pkgname=opencsg
+pkgver=1.4.0
+pkgrel=3
+pkgdesc="Library for image-based CSG rendering using OpenGL."
+arch=('i686' 'x86_64')
+license=('GPL2')
+depends=('glew' 'glut' 'libgl')
+url="http://www.opencsg.org"
+source=("http://www.opencsg.org/OpenCSG-${pkgver}.tar.gz")
+sha1sums=('2c2592a9f625ec1c7a3d208403ea2ac1cae2f972')
+
+build() {
+  cd "$srcdir/OpenCSG-$pkgver"
+  sed -i 's|-rpath,../lib|-rpath,/usr/lib|' src/Makefile
+  cd src
+  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.4
+  ln -s libopencsg.so.$pkgver libopencsg.so.1
+  ln -s libopencsg.so.$pkgver libopencsg.so
+}
+

Copied: opencsg/repos/community-staging-x86_64/PKGBUILD (from rev 142153, opencsg/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-28 20:53:48 UTC (rev 142154)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Maintainer: Xyne <ca dot archlinux at xyne, backwards>
+# Contributor: nikor
+
+pkgname=opencsg
+pkgver=1.4.0
+pkgrel=3
+pkgdesc="Library for image-based CSG rendering using OpenGL."
+arch=('i686' 'x86_64')
+license=('GPL2')
+depends=('glew' 'glut' 'libgl')
+url="http://www.opencsg.org"
+source=("http://www.opencsg.org/OpenCSG-${pkgver}.tar.gz")
+sha1sums=('2c2592a9f625ec1c7a3d208403ea2ac1cae2f972')
+
+build() {
+  cd "$srcdir/OpenCSG-$pkgver"
+  sed -i 's|-rpath,../lib|-rpath,/usr/lib|' src/Makefile
+  cd src
+  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.4
+  ln -s libopencsg.so.$pkgver libopencsg.so.1
+  ln -s libopencsg.so.$pkgver libopencsg.so
+}
+



More information about the arch-commits mailing list