From 12b25f55f4d6c54113c1ef17bbbeffefb6cffc2c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nick=20=C3=98stergaard?= Date: Wed, 20 Jun 2012 21:45:55 +0200 Subject: [PATCH] Working PKGBUILD for repnapper-git --- repsnapper-git/PKGBUILD | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/repsnapper-git/PKGBUILD b/repsnapper-git/PKGBUILD index fedd862..070b6a9 100644 --- a/repsnapper-git/PKGBUILD +++ b/repsnapper-git/PKGBUILD @@ -1,15 +1,16 @@ # Contributor: Thomas Mudrunka +# Contributor: Nick Østergaard # Maintainer: Thomas Mudrunka # 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=() @@ -40,11 +41,12 @@ build() { # # 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 } -- 2.30.2