mirror of
https://github.com/moparisthebest/arch-ppa
synced 2024-08-13 15:43:47 -04:00
30 lines
835 B
Bash
30 lines
835 B
Bash
# Maintainer: Timothée Girard <aur@timotheegirard.com>
|
|
# Contributor: Eduardo Sánchez Muñoz <eduardosanchezmunoz@gmail.com>
|
|
|
|
pkgname=htmlcxx
|
|
pkgver=0.86
|
|
pkgrel=1
|
|
pkgdesc="A simple non-validating CSS1 and HTML parser for C++."
|
|
arch=('i686' 'x86_64')
|
|
url="http://htmlcxx.sourceforge.net/"
|
|
license=('LGPL')
|
|
depends=()
|
|
makedepends=()
|
|
conflicts=('htmlcxx' 'libhtmlcxx' 'libcss_parser')
|
|
provides=('htmlcxx' 'libhtmlcxx' 'libcss_parser')
|
|
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
|
sha256sums=('07542b5ea2442143b125ba213b6823ff4a23fff352ecdd84bbebe1d154f4f5c1')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
LDFLAGS="$LDFLAGS -Wl,--no-as-needed"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|