summaryrefslogtreecommitdiff
path: root/community/gerbv/PKGBUILD
blob: f18a19b5aa182ecca54358a47505cd3114ed9fe7 (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
31
32
# $Id: PKGBUILD 61469 2012-01-01 00:58:06Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Jared Casper <jaredcasper@gmail.com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=gerbv
pkgver=2.6.0
pkgrel=1
pkgdesc="An open source Gerber file (RS-274X only) viewer"
url="http://gerbv.gpleda.org/"
license=('GPL')
arch=('i686' 'x86_64')
depends=('gtk2' 'shared-mime-info' 'hicolor-icon-theme')
optdepends=('gdk-pixbuf: export of images' 'cairo: for better graphics')
install=$pkgname.install
source=("http://downloads.sourceforge.net/gerbv/$pkgname-$pkgver.tar.gz")
md5sums=('44a37dd202bc60fab54cbc298a477572')

build ()
{
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr \
              --disable-update-desktop-database 
  make 
}

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