aboutsummaryrefslogtreecommitdiffstats
path: root/opencascade-docs/PKGBUILD
blob: 17908a2ea9962042b0025a31c544d49cb35b4ce0 (plain) (blame)
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
# 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')