summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: fc169caa379e90ef3da084e890a93902f6976cf4 (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
28
29
30
31
32
# Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net>
# Maintainer (AUR): Timothée Girard <aur@timotheegirard.com>
# Contributor (AUR): Eduardo Sánchez Muñoz <eduardosanchezmunoz@gmail.com>

# # I maintain this because:
# I use it and it is not in an official repo

pkgname=htmlcxx
pkgver=0.87
pkgrel=3
pkgdesc="A simple non-validating CSS1 and HTML parser for C++."
arch=('i686' 'x86_64')
url="http://htmlcxx.sourceforge.net/"
license=('LGPL')
depends=()
makedepends=()
provides=('htmlcxx' 'libhtmlcxx' 'libcss_parser')
source=("https://sourceforge.net/projects/${pkgname}/files/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
b2sums=('94977e758b4f2643f39a464094e315c11b78bc957a3eb054e6a7608828345704a82c3ca36c5ac2855054e7570daebb80d8a63639f3a7197344d25f2d16830702')

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"

    LDFLAGS="$LDFLAGS -Wl,--no-as-needed"
    ./configure --prefix=/usr
    make
}

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