updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gerbmerge / PKGBUILD
blob86e579456c780ea8608e8a00635b2a3f742e121a
1 # Contributor: Fabio Varesano <fvaresano@yahoo.it>
2 pkgname=gerbmerge
3 pkgver=1.8
4 pkgrel=1
5 pkgdesc="A program for combining (panelizing) the CAM data from multiple printed circuit board designs into a single set of CAM files."
6 arch=('i686' 'x86_64')
7 url="http://ruggedcircuits.com/gerbmerge/"
8 license=('GPL3')
9 depends=('python2' 'python2-simpleparse' 'python-egenix-mx-base')
10 source=('http://ruggedcircuits.com/gerbmerge/gerbmerge-1.8.tar.gz')
11 md5sums=('b34d86e47de1f5c9ce3d2d4c3b35662c')
13 build() {
14   cd $startdir/src/gerbmerge-$pkgver
15   sed -i 's/LIBPYTHON/LIBP/' setup.py
16   python2 setup.py install --prefix=/usr --root=$startdir/pkg
17   install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
18   sed -i 's/python/python2/' $startdir/pkg/usr/bin/gerbmerge
19   chmod 755 $startdir/pkg/usr/bin/gerbmerge