summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a2fbc5b4c669e2c0e00bc7143e14d6e1abbabd53 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Maintainer: Jesper Jensen <jesper at slashwin dot dk> 

_pkgname=neocomp
pkgname=${_pkgname}-git
pkgver=697
pkgrel=1
pkgdesc='A fast free standalone X11 compositor'
arch=('i686' 'x86_64')
url="https://github.com/delusionallogic/${_pkgname}"
license=('GPL')
depends=('mesa')
makedepends=(
    'asciidoc'
    'git'
    'libx11'
    'libxcomposite>=0.2'
    'libxdamage'
    'libxinerama'
    'libxext'
    'libxrender'
    'libxrandr'
    'libxfixes'
    'libconfig'
    'freetype2'
    'judy'
)
optdepends=()
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("git://github.com/delusionallogic/${_pkgname}.git")
md5sums=('SKIP')

pkgver() {
    cd "$srcdir/$_pkgname"
    git rev-list --count HEAD
}

build() {
    cd "$srcdir/$_pkgname"
    make DESTDIR="$pkgdir/" gen
    make DESTDIR="$pkgdir/"
}

check() {
    cd "$srcdir/$_pkgname"
    make DESTDIR="$pkgdir/" test
}

package() {
    cd "$srcdir/$_pkgname"
    make DESTDIR="$pkgdir/" install
}