diff options
author | root <root@rshg054.dnsready.net> | 2012-01-11 23:14:45 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-11 23:14:45 +0000 |
commit | 3a0439ec6aea4411ac6d11c90cd8220f8f12a660 (patch) | |
tree | adc6bcfb43847a9615413defa99b7a0946d22565 /extra/tidyhtml | |
parent | b8012183bbaae70ce4a714c618a967e85df9f521 (diff) |
Wed Jan 11 23:14:45 UTC 2012
Diffstat (limited to 'extra/tidyhtml')
-rw-r--r-- | extra/tidyhtml/PKGBUILD | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/extra/tidyhtml/PKGBUILD b/extra/tidyhtml/PKGBUILD index 031234da6..aaca30008 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 +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/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 } |