# Contributor: Thomas Mudrunka <harvie@@email..cz>
+# Contributor: Nick Østergaard <oe.nick at gmail dot com>
# Maintainer: Thomas Mudrunka <harvie@@email..cz>
# You can also contact me on http://blog.harvie.cz/
pkgname=repsnapper-git
-pkgver=20110504
+pkgver=20120620
pkgrel=1
pkgdesc="RepSnapper RepRap control software"
arch=('x86_64' 'i686')
url="https://github.com/timschmidt/repsnapper"
license=('GPL')
-depends=(libreprap)
+depends=('libreprap-git' 'gtkglext' 'libxml++')
makedepends=(git)
source=()
md5sums=()
#
# BUILD HERE
#
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
- #export PREFIX="$pkgdir/usr"
- ./autogen.sh || return 1
- ./configure --prefix="$pkgdir/usr" || return 1
- make || return 1
- #make install PREFIX="$pkgdir/usr" || return 1
- make install || return 1
+package() {
+ cd "$srcdir/$_gitname-build"
+ make DESTDIR="$pkgdir/" install
}