From: Nick Østergaard Date: Wed, 20 Jun 2012 19:45:55 +0000 (+0200) Subject: Working PKGBUILD for repnapper-git X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=12b25f55f4d6c54113c1ef17bbbeffefb6cffc2c;p=mirrors%2FArchLinux-Packages.git Working PKGBUILD for repnapper-git --- 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 }