summaryrefslogtreecommitdiff
path: root/extra/potrace/PKGBUILD
blob: 8e10065c653831444789d0e715dd8be0b21e3a3f (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
# $Id: PKGBUILD 198375 2013-10-30 14:29:13Z allan $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Damir Perisa <damir@archlinux.org>

pkgname=potrace
pkgver=1.11
pkgrel=1
pkgdesc='Utility for tracing a bitmap (input: PBM,PGM,PPM,BMP; output: EPS,PS,PDF,SVG,DXF,PGM,Gimppath,XFig)'
url='http://potrace.sourceforge.net/'
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
source=("http://potrace.sourceforge.net/download/${pkgname}-${pkgver}.tar.gz")
sha1sums=('7296baf27bf35298263cb3ed3df34a38fed0b441')

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

	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--with-libpotrace \
		--disable-static \

	make
}

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