blob: e7aee765c12b7079e1b9184a1ba77cd2ae83e7e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $Id: PKGBUILD 111680 2014-05-22 14:56:02Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Maintainer: Xyne <ca dot archlinux at xyne, backwards>
# Contributor: nikor
pkgname=opencsg
pkgver=1.3.3
pkgrel=1
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=('c01050679968c96e1b0ef4b5138a76a635e21d93')
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
}
|