summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e21d0c718377df539c1e2d56560cde9c2ecd98fe (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
33
34
# Maintainer: CuVoodoo <pcb-rnd@cuvoodoo.info>
pkgname=librnd4
pkgver=4.0.2
pkgrel=2
pkgdesc="free/open source, flexible, modular two-dimensional CAD engine"
url="http://www.repo.hu/projects/librnd/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=(glibc bash)
optdepends=('gtk2: GTK2 GUI'
            'gtkglext: GTK2 GUI, OpenGL render'
            'libepoxy: GTK4 GUI'
            'openmotif: the lesstif GUI'
            'libstroke: mouse gestures'
            'gd: to export/import to/from png, jpg or gif'
            'fungw: turing complete scripting')
source=("http://www.repo.hu/projects/librnd/releases/librnd-$pkgver.tar.gz")
sha256sums=('1cba7fa6f3bcea318ee813363d4033af6ea1e6c9db104996a682989ef085369a')

build() {
  cd "$srcdir/librnd-$pkgver/"
  ./configure --prefix=/usr
  make
}

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