# Maintainer: FirstAirBender # Contributor: Stefan Husmann # Contributor: jdarch # Contributor: Manuel Hüsers # Contributor: forest76 # Contributor: Tilman Blumenbach # Contributor: Christian Neukirchen _pkgname=autotrace pkgname="${_pkgname}-git" pkgver=0.31.9.r21.g67102f1 pkgrel=1 pkgdesc='AutoTrace is a utility for converting bitmap into vector graphics.' arch=('i686' 'x86_64') url='https://github.com/autotrace/autotrace.git' license=('GPL' 'LGPL') depends=('libpng' 'pstoedit' 'graphicsmagick' 'glib2') makedepends=('intltool' 'git' 'autoconf' 'automake') provides=(autotrace) conflicts=('autotrace' 'autotrace-nomagick') options=('!libtool') source=("${_pkgname}::git+https://github.com/autotrace/autotrace.git#branch=master") sha256sums=('SKIP') pkgver() { cd "$_pkgname" git describe --long --tags | sed 's/^travis.//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd "$_pkgname" autoreconf -ivf intltoolize --force aclocal ./configure --prefix=/usr --with-pstoedit --with-magick=GraphicsMagick --with-png make } package() { cd "$_pkgname" DESTDIR="${pkgdir}" make install }