summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4f455c448724dc4988a0ddd8506fafdae6626529 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Oleg Plakhotniuk <olegus EIGHT AT gmail DOT com>
# Maintainer: Simon Legner <Simon.Legner@gmail.com>

pkgname=validatornu
pkgver=20.6.30
pkgrel=1
pkgdesc="The Nu Html Checker, a command line tool for HTML5 markup validation"
arch=('any')
url="https://validator.github.io/validator/"
license=('custom')
depends=('java-environment')
makedepends=('unzip')
source=('validatornu'
        "https://github.com/validator/validator/releases/download/${pkgver}/vnu.jar_${pkgver}.zip")

package() {
  cd "$srcdir/dist"
  install -D "$srcdir/validatornu" "$pkgdir/usr/bin/validatornu"
  install -D -m644 vnu.jar "$pkgdir/usr/share/java/$pkgname/vnu.jar"
  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  install -D -m644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
  install -D -m644 index.html "$pkgdir/usr/share/doc/$pkgname/index.html"
}

# vim:set ts=2 sw=2 et:
sha256sums=('96cd47b569b8c79a60f3bea22159444919b418ef20d8beb4b223a6389aabbf25'
            'f6dc1464229756f582bdd6c083df11ec13e0d7389dd50b56e63133aa8b0dd200')