PKGBUILDs/extra/qt3-doc/PKGBUILD
2009-10-09 21:23:22 -05:00

23 lines
716 B
Bash

# $Id: PKGBUILD 37034 2009-04-30 04:24:01Z eric $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=qt3-doc
pkgver=3.3.8
pkgrel=1.2
pkgdesc="The QT gui toolkit documentation."
arch=('i686' 'x86_64')
url="http://www.trolltech.com/products/qt/index.html"
pkgfqn=qt-x11-free-${pkgver}
depends=('qt3')
source=(ftp://ftp.trolltech.com/qt/source/${pkgfqn}.tar.gz)
license=('GPL2' 'custom:QPL')
md5sums=('37aec12c8c7b0e164957ec1aa3fd0189')
build() {
cd $startdir/src/$pkgfqn
mkdir -p $startdir/pkg/opt/qt/doc/
cp -r $startdir/src/$pkgfqn/doc/html $startdir/pkg/opt/qt/doc/
# install QPL license
install -Dm644 $srcdir/qt-x11-free-$pkgver/LICENSE.QPL \
$pkgdir/usr/share/licenses/$pkgname/LICENSE.QPL
}