diff options
author | Grey Christoforo | 2016-01-17 17:09:06 +0000 |
---|---|---|
committer | Grey Christoforo | 2016-01-17 17:12:18 +0000 |
commit | 9db4611cae3408ba385fcd57ea2f6a14dd2eacfa (patch) | |
tree | 6d33f41e657a6c3cbd1c25ec052c492a2064531c | |
download | aur-9db4611cae3408ba385fcd57ea2f6a14dd2eacfa.tar.gz |
initial working version
add srcinfo
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 36 |
3 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5d21c000f5c4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Sun Jan 17 17:09:30 UTC 2016 +pkgbase = oce + pkgdesc = Open CASCADE Community Edition: patches/improvements/experiments contributed by users over the official Open CASCADE library. + pkgver = 0.17.1 + pkgrel = 1 + url = https://github.com/tpaviot/oce + arch = i686 + arch = x86_64 + license = GPLv2.1 + makedepends = cmake + depends = intel-tbb + depends = gl2ps + depends = freeimage + source = https://github.com/tpaviot/oce/archive/OCE-0.17.1.tar.gz + md5sums = 36c67b87093c675698b483454258af91 + +pkgname = oce + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..0a2223f3641d --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.tar.gz +*.tar.xz +src/ +pkg/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fb7fd4537fd9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Grey Christoforo <first name [at] last name [dot] net> + +pkgname=oce +pkgver=0.17.1 +pkgrel=1 +pkgdesc="Open CASCADE Community Edition: patches/improvements/experiments contributed by users over the official Open CASCADE library." +url="https://github.com/tpaviot/oce" +arch=('i686' 'x86_64') +license=('GPLv2.1') +makedepends=('cmake') +depends=('intel-tbb' 'gl2ps' 'freeimage') +source=(https://github.com/tpaviot/${pkgname}/archive/OCE-${pkgver}.tar.gz) +md5sums=('36c67b87093c675698b483454258af91') + +build() { + cd oce-OCE-${pkgver} + mkdir -p build + cd build + flags="" + flags="$flags -DOCE_INSTALL_PREFIX=/usr" + flags="$flags -DOCE_MULTITHREAD_LIBRARY:STRING=TBB" + flags="$flags -DOCE_WITH_GL2PS=ON" + flags="$flags -DOCE_WITH_FREEIMAGE=ON" + flags="$flags -DOCE_DRAW=ON" + cmake $flags .. + make +} + +package() { + cd oce-OCE-${pkgver}/build + make DESTDIR="${pkgdir}" install + install -Dm644 ${srcdir}/oce-OCE-${pkgver}/LICENSE_LGPL_21.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE_LGPL_21.txt" + install -Dm644 ${srcdir}/oce-OCE-${pkgver}/OCCT_LGPL_EXCEPTION.txt "$pkgdir/usr/share/licenses/$pkgname/OCCT_LGPL_EXCEPTION.txt" +} + +# vim:set ts=2 sw=2 et: |