From c5cc95f4ecdd1233b928780a7dfbed785b9591cb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 5 Mar 2013 06:58:36 +0100 Subject: adopting opencascade-docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- opencascade-docs/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 opencascade-docs/PKGBUILD (limited to 'opencascade-docs/PKGBUILD') diff --git a/opencascade-docs/PKGBUILD b/opencascade-docs/PKGBUILD new file mode 100644 index 0000000..17908a2 --- /dev/null +++ b/opencascade-docs/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> +pkgname=opencascade-docs +pkgver=6.5.4 +pkgrel=1 +pkgdesc="Documentation and examples for opencascade." +url="http://www.opencascade.org" +license="custom" +depends=() +makedepends=() +provides=() +conflicts=() +options=(!strip !upx) +replaces=() +arch=('i686' 'x86_64') +source=("http://files.opencascade.com/OCCT/OCC_${pkgver}_release/OpenCASCADE${pkgver//./}.tar.gz") + +package() { + # Installation dir + local _installdir=/opt/opencascade + + # Copy files from source to the installation dir + install -d -m 755 "${pkgdir}${_installdir}" || return 1 + cp -r "${srcdir}/data" \ + "${srcdir}/samples" \ + "${srcdir}/doc" \ + "${pkgdir}${_installdir}" || return 1 +} + +md5sums=('413acc554e6187b38588b4c1cf48452a') -- cgit v1.2.3-70-g09d2