summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9ef8df8a6e2a5449e9359c5806535f8b8223b140 (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
# Maintainer: Felix Golatofski <contact@xdfr.de>
pkgname=streamhtmlparser
pkgver=0.1
pkgrel=1
pkgdesc="Implementation of an html and javascript context scanner with no lookahead."
arch=('x86_64')
url="https://github.com/google/streamhtmlparser"
license=('BSD-3-Clause')
depends=()
makedepends=(
  'make'
  'automake'
)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/google/streamhtmlparser/archive/${pkgname}-${pkgver}.tar.gz")
sha512sums=('0e6821bba6cac2bf79ad36892689d7ef2a041b7791584a51d4d6c185ba071b6adff006bca94757002790a81e8b3a782df370e3406a518016f110ed522f0b02c8')

build() {
  cd "$srcdir/$pkgname-$pkgname-$pkgver"
  ./autogen.sh
  ./configure
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgname-$pkgver"
  make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX=/usr install
}