summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 61b98f9bbecafbeffa9cc7304e1f42e4ffeeebd7 (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
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=libemf2svg
pkgver=1.1.0
pkgrel=2
pkgdesc="EMF (Microsoft Enhanced Metafile) to SVG conversion library"
arch=('x86_64')
url="https://github.com/kakwa/libemf2svg"
license=('GPL')
depends=('libpng' 'libiconv' 'fontconfig' 'freetype2')
provides=("libemf2svg")
conflicts=("libemf2svg-git")
sha512sums=('1e9c1274cb7fc3552e7d91169b500ee9d3e1870e411059abc0b343b8b82382e42127b59023753336580f591437003ad0565b6653d661ce5008baa64ebb6f1bd8')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/kakwa/libemf2svg/archive/${pkgver}.tar.gz")

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
    cmake . -DCMAKE_INSTALL_PREFIX=/usr
    make
}

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