summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5f2cf2835bc85566aca94aa971cfdc1fbcc8cfe (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
35
36
37
# Maintainer: Kyle Keen <keenerd@gmail.com?>
pkgname=pcb-rnd-svn
_pkgname=pcb-rnd-svn
pkgver=r13074
pkgrel=1
pkgdesc="Fork of Geda-PCB with embedded scripting and other improvements."
url="http://repo.hu/projects/pcb-rnd/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('gd' 'libjpeg' 'openmotif' 'gtk2')
# - glib and gtk if you are using the gtk frontend
# - openmotif or lesstif if you are using the lesstif frontend
# - gdlib if you are using the png HID
makedepends=('svn')
provides=('pcb-rnd')
conflicts=('pcb-rnd')
source=("svn://repo.hu/pcb-rnd/trunk")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/trunk/"
  local ver="$(svnversion)"
  printf "r%s" "${ver//[[:alpha:]]}"
}

build() {
  cd "$srcdir/trunk/"
  # many knobs under ./configure --help
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/trunk/"
  # prefix?  DESTDIR? install_root?
  make -j1 install_root="$pkgdir" install
}