archrelease: copy trunk to staging-x86_64
[arch-packages.git] / lasem / repos / extra-x86_64 / PKGBUILD
blob990ed0b0bd4b37bd0e97afd129ea4d2d284316b3
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Adria Arrufat <adria.arrufat@protonmail.ch>
3 pkgname=lasem
4 pkgver=0.4.4
5 pkgrel=2
6 pkgdesc="SVG and Mathml rendering library"
7 arch=('x86_64')
8 url="https://wiki.gnome.org/Projects/Lasem"
9 license=('LGPL')
10 depends=('gtk3')
11 makedepends=('intltool' 'python')
12 options=('!libtool')
13 source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz
14         CVE-2013-7447.patch)
15 sha256sums=('9bf01fcfdc913ebc05989ac1f5902d52e28e7c31f797e2b6d3d413d4b51bba39'
16             'd9e836934655db45e52f6ab1923866a5010a071c1c62fcbcb6c2fd999e978d2c')
18 prepare() {
19   cd $pkgname-$pkgver
20   patch -Np1 -i ../CVE-2013-7447.patch
23 build() {
24   cd "$pkgname-$pkgver"
25   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
26       --disable-static
27   make
30 package() {
31   cd "$pkgname-$pkgver"
32   make DESTDIR="$pkgdir" install
33   mv "$pkgdir/usr/doc" "$pkgdir/usr/share/doc"