blob: 6da15f9e2217c737a6dc8cc9323dfe2d100f65b6 (
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
|
# Maintainer: Aquarius <aquarius24 AT yandex DOT ru>
# Maintainer: AudioLinux <audiolinux AT fastmail DOT fm>
# Contributor: Cvetoslav Ludmiloff <ludmiloff@gmail.com>
_name=smokegen
pkgname=$_name-git
pkgver=v4.14.3.r8.f7126dc
pkgrel=1
pkgdesc="A general purpose C++ parser with a plugin infrastructure. It is currently used for generating the various SMOKE libraries"
arch=('i686' 'x86_64')
url=""
license=('GPL')
groups=()
depends=()
makedepends=('git' 'cmake')
provides=("$pkgname")
conflicts=("$pkgname")
source=("git+https://github.com/KDE/smokegen.git")
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_name"
# Git, tags available
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
build() {
mkdir "$srcdir/$_name/build"
cd "$srcdir/$_name/build"
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ../
make
}
package() {
cd "$srcdir/$_name/build"
make DESTDIR="$pkgdir/" install
}
|