updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / maya2012-docs / PKGBUILD
blobf1f5dcc03c7221da03b242aba6fbdc22d99a1097
1 # Maintainer: Mihai Militaru <mihai dot militaru at xmpp dot ro>
3 pkgname=maya2012-docs
4 pkgver=2012.63
5 pkgrel=3
6 pkgdesc="Autodesk Maya documentation"
7 arch=('x86_64')
8 url="http://www.autodesk.com/maya"
9 license=('proprietary')
10 depends=()
11 makedepends=('rpmextract')
12 source=(http://images.autodesk.com/adsk/files/autodesk_maya_2012_english_documentation_linux_64bit.tgz)
13 sha1sums=('996037602f6774183c1c7806d7f092e961301623')
14 options=('!strip')
16 build() {
17   cd ${pkgdir}
18   rpmextract.sh ${srcdir}/Maya2012_0-docs_en_US_64-2012.0-63.x86_64.rpm
19   install -Dm644 "$srcdir/EULA/All Other Countries.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
20   if test -d ${pkgdir}/usr/autodesk/maya2012-x64/docs ; then
21     find ${pkgdir}/usr/autodesk/maya2012-x64/docs/ -type d -exec chmod 755 {} \;
22     find ${pkgdir}/usr/autodesk/maya2012-x64/docs/ -type f -exec chmod 644 {} \;
23   fi