aboutsummaryrefslogblamecommitdiffstats
path: root/community/tidyhtml/APKBUILD
blob: 292d37af5b630897e95ea316c5443d07df8a742a (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                      


                                                                   
                   
            
        
                                                           
        

                              
        
                   
                                        
                                                                                            
 
                                    

        


                                                                    


           

                                                  

 


                                                                                                                                                                    
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>

pkgname=tidyhtml
_pkgreal=tidy-html5
pkgver=5.2.0
pkgrel=0
pkgdesc="Tool to tidy down your HTML code to a clean style"
arch=all
url="http://www.html-tidy.org"
license="custom"
depends=
makedepends="cmake"
subpackages="$pkgname-dev $pkgname-libs"
source="$pkgname-$pkgver.tar.gz::https://github.com/htacg/tidy-html5/archive/$pkgver.tar.gz"

builddir="$srcdir"/$_pkgreal-$pkgver

build(){
	cd "$builddir"
	cmake CMakeLists.txt -DCMAKE_INSTALL_PREFIX=/usr || return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="ffbe6e8471eff90877b4d74bb714e22f  tidyhtml-5.2.0.tar.gz"
sha256sums="80533415acf11ac55f24b874ab39448e390ffec3c2b93df4b857d15602fc7c4d  tidyhtml-5.2.0.tar.gz"
sha512sums="9ab4c085235ff01988fa86c43fdcd5870eee077e4bcbaee5ca9b9679f363f476b39243b749ea66e5eb8a08c41d7a8346166b73e71f0b3239b955d20211f3b253  tidyhtml-5.2.0.tar.gz"