summaryrefslogtreecommitdiff
path: root/extra/tidyhtml
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-13 14:21:34 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-13 14:21:34 -0300
commit4a47b2a0e019de14d474e353a601ca6bf47e90e5 (patch)
tree69e20048be17aa12e6342ebcafb0cf9cdbfee32d /extra/tidyhtml
parent149750d28420a7b59fab5501ab9aaca095f6fa46 (diff)
parentb5f690637837ff269bf5d248ee2dc37ea5236ca8 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/packagekit/PKGBUILD community/bird/PKGBUILD community/camlp5/PKGBUILD community/exim/PKGBUILD community/ibus-table-extraphrase/PKGBUILD community/mingw32-gcc-base/PKGBUILD community/mingw32-gcc/PKGBUILD community/torcs/PKGBUILD core/db/PKGBUILD core/iproute2/PKGBUILD core/libsasl/PKGBUILD core/openldap/PKGBUILD core/pam/PKGBUILD core/util-linux/PKGBUILD extra/cyrus-sasl/PKGBUILD extra/ffmpeg/PKGBUILD extra/kdelibs/PKGBUILD extra/libreoffice/PKGBUILD extra/php/PKGBUILD extra/postfix/PKGBUILD extra/python-lxml/PKGBUILD extra/rdesktop/PKGBUILD extra/redland/PKGBUILD extra/subversion/PKGBUILD extra/tidyhtml/PKGBUILD extra/transmission/PKGBUILD extra/windowmaker/PKGBUILD kde-unstable/calligra/PKGBUILD multilib/lib32-libdrm/PKGBUILD multilib/lib32-libdrm/no-pthread-stubs.patch multilib/lib32-openssl/PKGBUILD
Diffstat (limited to 'extra/tidyhtml')
-rw-r--r--extra/tidyhtml/PKGBUILD26
1 files changed, 16 insertions, 10 deletions
diff --git a/extra/tidyhtml/PKGBUILD b/extra/tidyhtml/PKGBUILD
index f0342dc9c..62e5bedd6 100644
--- a/extra/tidyhtml/PKGBUILD
+++ b/extra/tidyhtml/PKGBUILD
@@ -1,26 +1,28 @@
-# $Id: PKGBUILD 69561 2010-02-21 04:47:38Z allan $
-# Maintainer: eric <eric@archlinux.org>
-# Contributor : Markus Meissner <markus@meissna.de>
+# $Id: PKGBUILD 146404 2012-01-10 21:14:26Z andrea $
+# Maintainer:
+# Contributor: eric <eric@archlinux.org>
+# Contributor: Markus Meissner <markus@meissna.de>
pkgname=tidyhtml
# obtain pkgver from http://tidy.cvs.sourceforge.net/tidy/tidy/src/version.h?view=markup
pkgver=1.46
-pkgrel=1.1
+pkgrel=2
pkgdesc="A tool to tidy down your HTML code to a clean style"
arch=('i686' 'x86_64' 'mips64el')
url="http://tidy.sourceforge.net/"
license=('custom')
+depends=('glibc')
options=('!libtool')
-source=(ftp://ftp.archlinux.org/other/tidyhtml/${pkgname}-${pkgver}.tar.bz2)
+source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('3d970d54be83c5ec985687e9976a2832')
mksource() {
- mkdir tidyhtml-${pkgver}
- cd tidyhtml-${pkgver}
+ mkdir ${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
cvs -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy login #hit enter for password
cvs -z3 -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy co -P tidy
cd ..
- tar -cvjf tidyhtml-${pkgver}.tar.bz2 tidyhtml-${pkgver}/*
+ tar -cvjf ${pkgname}-${pkgver}.tar.bz2 ${pkgname}-${pkgver}/*
}
build(){
@@ -28,9 +30,13 @@ build(){
source build/gnuauto/setup.sh
./configure --prefix=/usr
- make || return 1
+ make
+}
+
+package() {
+ cd $srcdir/${pkgname}-${pkgver}/tidy
make DESTDIR=$pkgdir install
install -Dm644 htmldoc/license.html \
- ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}