desktop/fifechan-git/PKGBUILD
Adrián Chaves Fernández (Gallaecio) 84e8ecd094 unknown-horizons: fixed
The latest stable version of fife is not compatible with the 3.x
branch of swig, the one that we have in our core repository.

I have switched to fife-git, which does support swig 3.x.
2016-06-25 10:02:42 +02:00

33 lines
775 B
Bash

# Forked from https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=fifechan-git
pkgname=fifechan-git
pkgver=0.1.1.r89.g7b77184
pkgrel=1
pkgdesc="Fifechan is a C++ GUI library designed for
games. It comes with a standard set of 'widgets'."
arch=(any)
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')
pkgver() {
cd "$srcdir/$pkgname"
git describe --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
}