summaryrefslogtreecommitdiff
path: root/extra/potrace/PKGBUILD
blob: 751780b311ba58ca0d7c719cae367fc2e632280d (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
# $Id: PKGBUILD 135877 2011-08-20 01:28:52Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Damir Perisa <damir@archlinux.org>

pkgname=potrace
pkgver=1.10
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')
depends=('zlib')
options=('!libtool')
source=("http://potrace.sourceforge.net/download/${pkgname}-${pkgver}.tar.gz")
sha1sums=('e6e8b64d85d30b4695d197a79187ac98c2b236f9')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	./configure --prefix=/usr --mandir=/usr/share/man --with-libpotrace
	make
}

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