summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-15 15:50:05 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-15 15:50:05 (GMT)
commit3c159e7171ef133b9554b958f40bf82a90e6e6f4 (patch)
tree4474f9edc9b1de83c43ef9c03751704f87275361 /abs
parent73a8a1344555c8bf1c52800f6978404b4557d9e2 (diff)
downloadlinhes_pkgbuild-3c159e7171ef133b9554b958f40bf82a90e6e6f4.zip
linhes_pkgbuild-3c159e7171ef133b9554b958f40bf82a90e6e6f4.tar.gz
linhes_pkgbuild-3c159e7171ef133b9554b958f40bf82a90e6e6f4.tar.bz2
tidyhtml: 1.46
-new
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/tidyhtml/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/abs/extra/tidyhtml/PKGBUILD b/abs/extra/tidyhtml/PKGBUILD
new file mode 100644
index 0000000..aaca300
--- /dev/null
+++ b/abs/extra/tidyhtml/PKGBUILD
@@ -0,0 +1,42 @@
+# $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=2
+pkgdesc="A tool to tidy down your HTML code to a clean style"
+arch=('i686' 'x86_64')
+url="http://tidy.sourceforge.net/"
+license=('custom')
+depends=('glibc')
+options=('!libtool')
+source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('3d970d54be83c5ec985687e9976a2832')
+
+mksource() {
+ 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 ${pkgname}-${pkgver}.tar.bz2 ${pkgname}-${pkgver}/*
+}
+
+build(){
+ cd $srcdir/${pkgname}-${pkgver}/tidy
+ source build/gnuauto/setup.sh
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/${pkgname}-${pkgver}/tidy
+ make DESTDIR=$pkgdir install
+
+ install -Dm644 htmldoc/license.html \
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}