blob: 140d907b6146a669549c2b2ece2803f0bd858d24 (
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
|
# Maintainer: Kilian Köppchen <kiliankoeppchen at gmail dot com>
pkgname=fifechan-git
pkgver=0.1.4.r56.ga58eff3
pkgrel=1
pkgdesc="Fifechan is a C++ GUI library designed for
games. It comes with a standard set of 'widgets'."
arch=('i686' 'x86_64')
url="http://fifengine.github.io/fifechan/"
license=('(L)GPL')
depends=('sdl2_image' 'allegro4' 'libgl' 'glut')
makedepends=('git' 'cmake' 'make')
source=("$pkgname"::'git+https://github.com/fifengine/fifechan.git')
md5sums=('SKIP')
conflicts=("${pkgname/-git}")
provides=("${pkgname/-git}")
pkgver() {
cd "$srcdir/$pkgname"
git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$pkgname"
mkdir -p build && cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
make
}
package() {
cd "$srcdir/$pkgname/build"
make DESTDIR=$pkgdir install
}
|