Working PKGBUILD for repnapper-git 3/head
authorNick Østergaard <oe.nick@gmail.com>
Wed, 20 Jun 2012 19:45:55 +0000 (21:45 +0200)
committerNick Østergaard <oe.nick@gmail.com>
Wed, 20 Jun 2012 19:45:55 +0000 (21:45 +0200)
repsnapper-git/PKGBUILD

index fedd8620ef7dd1ca3510219699371d439153712e..070b6a910ae398e3c60b588671263b1e48f352a2 100644 (file)
@@ -1,15 +1,16 @@
 # Contributor: Thomas Mudrunka <harvie@@email..cz>
 # 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
 # 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')
 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=()
 makedepends=(git)
 source=()
 md5sums=()
@@ -40,11 +41,12 @@ build() {
   #
   # BUILD HERE
   #
   #
   # 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
 }
 }
This page took 0.111298 seconds and 4 git commands to generate.