summaryrefslogtreecommitdiff
path: root/community/glitz/PKGBUILD
blob: 16945df9454e1e766e7ba1a111352fd694f63826 (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
# $Id: PKGBUILD 66602 2012-02-26 14:06:03Z lfleischer $

pkgname=glitz
pkgver=0.5.6
pkgrel=3
pkgdesc="OpenGL image compositing library"
arch=('i686' 'x86_64' 'mips64el')
url="http://cairographics.org/"
license=('BSD')
depends=('libgl')
makedepends=('mesa')
options=('!libtool')
source=("http://cairographics.org/snapshots/${pkgname}-${pkgver}.tar.gz")
md5sums=('c507f140ecccc06aed8888c958edda4c')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}