blob: 22bf89eb69d7f59fce8df06d02add0f7a1eff0b9 (
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
|
# Contributor: Auguste Pop <auguste [at] gmail [dot] com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=fuego-svn
pkgver=2033
pkgrel=2
pkgdesc="A collection of C++ libraries for the game of Go"
arch=('i686' 'x86_64')
url="http://fuego.sourceforge.net/"
license=('GPL')
depends=('boost-libs')
makedepends=('boost')
source=("fuego-code::svn+https://svn.code.sf.net/p/fuego/code/trunk/")
md5sums=('SKIP')
pkgver() {
cd ${pkgname%-svn}-code
local ver="$(svnversion)"
printf "%s" "${ver//[[:alpha:]]}"
}
build() {
cd ${pkgname%-svn}-code
autoreconf -i
CXXFLAGS="-march=native -O3 -pipe -DBOOST_FILESYSTEM_VERSION=3" \
LIBS="-lpthread" ./configure --prefix=/usr
make
}
package() {
cd ${pkgname%-svn}-code
make DESTDIR="$pkgdir" install
}
|