summaryrefslogtreecommitdiff
path: root/community/htmldoc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/htmldoc/PKGBUILD')
-rw-r--r--community/htmldoc/PKGBUILD67
1 files changed, 0 insertions, 67 deletions
diff --git a/community/htmldoc/PKGBUILD b/community/htmldoc/PKGBUILD
deleted file mode 100644
index 9df1f9197..000000000
--- a/community/htmldoc/PKGBUILD
+++ /dev/null
@@ -1,67 +0,0 @@
-# $Id: PKGBUILD 64143 2012-02-09 02:03:02Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: tobias <tobias@archlinux.org>
-# Contributor: Simon Rutishauser <simon.rutishauser@gmx.ch>
-
-pkgname=htmldoc
-pkgver=1.9.0svn1700
-pkgrel=1
-pkgdesc="Produce PDF or Postscript from HTML documents including TOCs and Indices"
-arch=(i686 x86_64)
-url="http://www.htmldoc.org"
-license=('GPL')
-depends=('libjpeg' 'libpng' 'openssl' 'fltk' 'gcc' 'libxft' 'libxpm')
-makedepends=('subversion')
-__svntrunk=http://svn.easysw.com/public/htmldoc/trunk/
-__svnmod=htmldoc
-source=()
-md5sums=()
-md5sums=()
-md5sums=()
-
-build() {
- cd "$srcdir"
-
- if [ -d $__svnmod/.svn ]; then
- (cd $__svnmod && svn up)
- else
- svn co $__svntrunk --config-dir ./ $__svnmod
- fi
-
- msg "SVN checkout done or server timeout"
- msg "Starting make..."
-
- rm -rf "$srcdir/$__svnmod-build"
- cp -r "$srcdir/$__svnmod" "$srcdir/$__svnmod-build"
- cd "$srcdir/$__svnmod-build"
-
- #
- # BUILD
- #
- [ -x configure ] || autoconf
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/$__svnmod-build"
-
- 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
-
- # fix freedesktop stuff
- install -Dm 644 desktop/htmldoc-128.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 \
- ${pkgdir}/usr/share/applications/htmldoc.desktop
-}