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

Evangelos Foutras foutrelis at archlinux.org
Sat Apr 25 11:08:19 UTC 2020


    Date: Saturday, April 25, 2020 @ 11:08:19
  Author: foutrelis
Revision: 620643

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: opencsg/repos/community-staging-x86_64/PKGBUILD (from rev 620642, opencsg/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-25 11:08:19 UTC (rev 620643)
@@ -0,0 +1,32 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Maintainer: Xyne <ca dot archlinux at xyne, backwards>
+# Contributor: nikor
+
+pkgname=opencsg
+pkgver=1.4.2
+pkgrel=3
+pkgdesc="Library for image-based CSG rendering using OpenGL."
+url="http://www.opencsg.org"
+arch=('x86_64')
+license=('GPL2')
+depends=('glew' 'glut' 'libgl')
+source=("http://www.opencsg.org/OpenCSG-${pkgver}.tar.gz")
+sha1sums=('3b4d3bc531c49afbc8f8a55af071eebcda1e0607')
+
+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