summaryrefslogtreecommitdiff
path: root/community/lazarus/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/lazarus/PKGBUILD')
-rw-r--r--community/lazarus/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/community/lazarus/PKGBUILD b/community/lazarus/PKGBUILD
index 54e8cd33c..d7d070855 100644
--- a/community/lazarus/PKGBUILD
+++ b/community/lazarus/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 75791 2012-08-31 12:11:31Z spupykin $
+# $Id: PKGBUILD 76459 2012-09-18 17:57:53Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jens Adam (byte/jra) <j_adam@web.de>
# Contributor: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
@@ -7,7 +7,7 @@ pkgbase=lazarus
pkgname=('lazarus' 'lazarus-gtk2' 'lazarus-qt')
pkgver=1.0
_pkgsubver=0
-pkgrel=1
+pkgrel=2
url='http://www.lazarus.freepascal.org/'
license=('GPL2' 'MPL' 'custom:LGPL')
arch=('i686' 'x86_64')
@@ -40,7 +40,7 @@ package_lazarus() {
optdepends=(
'perl: to run some scirpts in the tools directory'
'gtk2: to compile gtk2 apps'
- 'qt4pas: to compile qt apps'
+ 'qt4pas: to compile qt apps and use help viewer'
)
cd $srcdir/${pkgbase}
@@ -69,6 +69,9 @@ package_lazarus() {
ln -s /usr/lib/lazarus/lazbuild $pkgdir/usr/bin/lazbuild
cp -R install/man/man1/* $pkgdir/usr/share/man/man1/
mv $pkgdir/usr/lib/lazarus/docs $pkgdir/usr/share/doc/lazarus
+ mkdir -p $pkgdir/usr/lib/lazarus/docs
+ ln -s /usr/share/doc/lazarus/chm $pkgdir/usr/lib/lazarus/docs/html
+
rm -r $pkgdir/usr/lib/lazarus/install
# license files: /usr/lib/lazarus/COPYING*