summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4198f9876781af89d8de6b7885a5536b5ad4a927 (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
pkgname=open-phd-guiding-svn
_svnname=open-phd-guiding
pkgver=658
pkgrel=1
pkgdesc="Linux port of PHD Guiding, autoguiding for telescopes"
url="http://code.google.com/p/open-phd-guiding/"
arch=('i686' 'x86_64')
license=('BSD3')
depends=('wxgtk' 'v4l-utils' 'zlib' 'cfitsio')
#optdepends=('')
makedepends=('cmake' 'subversion')
source=("${_svnname}::svn+http://open-phd-guiding.googlecode.com/svn/branches/openphd1")
sha1sums=('SKIP')

pkgver() {
	cd "$SRCDEST/${_svnname}"
	svnversion | tr -d [A-z]
}

build() {
	cd $_svnname
	cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
	make all
}

package() {
	cd $_svnname
	make DESTDIR="${pkgdir}" install
}