desktop/wfmath/PKGBUILD

31 lines
745 B
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=wfmath
pkgver=0.3.11
pkgrel=1
pkgdesc="WorldForge math library."
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/worldforge/"
license=('GPL')
source=(http://downloads.sourceforge.net/project/worldforge/wfmath%20\(math%20lib\)/$pkgver/$pkgname-$pkgver.tar.bz2)
sha256sums=('da4d4f55b2d56cf8412db406933b0331a051a17b3053ac91003323cbe51eecea')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
}