summaryrefslogtreecommitdiff
path: root/community/htmldoc
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-07-24 00:03:37 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-07-24 00:03:37 -0500
commit070c331922151d301e3147728cae638902b61db9 (patch)
tree72e112fe8edc90e296f318b0603f3288369f43a9 /community/htmldoc
parent0d18015803bebeb58911bf791653597291056095 (diff)
parent0e8166d926f929f470d01d5bc8c8823e094742da (diff)
Commiting libre package llvm-2.9-6
Diffstat (limited to 'community/htmldoc')
-rw-r--r--community/htmldoc/PKGBUILD28
1 files changed, 19 insertions, 9 deletions
diff --git a/community/htmldoc/PKGBUILD b/community/htmldoc/PKGBUILD
index e58391aa9..d057cdeb0 100644
--- a/community/htmldoc/PKGBUILD
+++ b/community/htmldoc/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 51081 2011-07-05 07:09:42Z spupykin $
+# $Id: PKGBUILD 52181 2011-07-21 12:03:40Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Simon Rutishauser <simon.rutishauser@gmx.ch>
@@ -10,25 +10,35 @@ pkgdesc="Produce PDF or Postscript from HTML documents including TOCs and Indice
arch=(i686 x86_64 'mips64el')
url="http://www.htmldoc.org"
license=('GPL')
-depends=('libjpeg' 'libpng' 'openssl' 'fltk' 'gcc' 'libxft' 'libxpm')
+depends=('libjpeg' 'libpng' 'openssl' 'fltk' 'gcc-libs' 'libxft' 'libxpm')
source=(ftp://ftp.easysw.com/pub/${pkgname}/${pkgver}/${pkgname}-$pkgver-source.tar.bz2)
md5sums=('35589e7b8fe9c54e11be87cd5aec4dcc')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
+ cd $srcdir/${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=${pkgdir}/usr/share/man
- sed -i 's|^bindir.*$|bindir = ${prefix}/bin|' Makedefs
make
}
package() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- make prefix=${startdir}/pkg/usr install
- # fix freedesktop stuff
+ cd $srcdir/${pkgname}-${pkgver}
+
+ make install \
+ prefix=${pkgdir}/usr \
+ bindir=$pkgdir/usr/bin \
+ datadir=$pkgdir/usr/share \
+ datarootdir=$pkgdir/usr/share \
+ docdir=$pkgdir/usr/share/doc/htmldoc \
+ exec_prefix=$pkgdir/usr \
+ mandir=$pkgdir/usr/share/man \
+ prefix=$pkgdir/usr \
+ sysconfdir=$pkgdir/etc
+
+ # freedesktop stuff
install -Dm 644 desktop/htmldoc-128.png \
- ${startdir}/pkg/usr/share/pixmaps/htmldoc.png
+ $pkgdir/usr/share/pixmaps/htmldoc.png
echo "MimeType=application/vnd.htmldoc-book;" >> desktop/htmldoc.desktop
sed -i 's|X-Red-Hat.*$||' desktop/htmldoc.desktop
install -Dm 644 desktop/htmldoc.desktop \
- ${startdir}/pkg/usr/share/applications/htmldoc.desktop
+ $pkgdir/usr/share/applications/htmldoc.desktop
}