summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1da5fef8df838147771dbb491a871aadce778641 (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
# Maintainer: Nils Christopher Brause <nilschrbrause@googlemail.com>
pkgname=waylandpp-git
pkgver=189
pkgrel=1
pkgdesc='Wayland C++ bindings'
arch=('i686' 'x86_64' 'armv5' 'armv6' 'armv7' 'armv8')
url='https://github.com/NilsBrause/waylandpp'
licanse=('MIT' 'GPL3')
depends=(wayland)
provides=(waylandpp)
conflicts=(waylandpp)
makedepends=(scons)
source=("${pkgname}::git+https://github.com/NilsBrause/waylandpp.git")
md5sums=('SKIP')

pkgver()
{
    cd $pkgname
    git log --pretty=oneline | wc -l
}

build()
{
    cd $pkgname
    scons
}

package()
{
    cd $pkgname
    ROOT="$pkgdir" PREFIX="/usr" scons install
}

# Local Variables:
# mode: shell-script
# End: