summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 68da3a968a5829ac743b3fb043dc64446721795b (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
31
32
# Contributor: snafu <snafu21@user.sourceforge.net>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=mandelbrot-gtk-git
pkgver=0.5.r3.g4e29df8
pkgrel=1
epoch=1
pkgdesc="A multithreaded GTK3 application for rendering the mandelbrot and julia set."
arch=('i686' 'x86_64')
url="http://mandelbrot-gtk.sourceforge.net"
license=('GPL3')
depends=('gtk3')
makedepends=('git')
provides=('mandelbrot-gtk')
conflicts=('mandelbrot-gtk' 'mesa-demos')
source=("mandelbrot::git://git.code.sf.net/p/mandelbrot-gtk/code")
md5sums=('SKIP')

pkgver() {
  cd ${pkgname%-gtk-git}
  git describe --tags | cut -c2- | sed 's+-+.r+' | tr - .
}

build() {
  cd ${pkgname%-gtk-git}
  make START=NO
}

package() {
  cd ${pkgname%-gtk-git}
  make DESTDIR="$pkgdir" PREFIX=/usr install
}