blob: 969358eda0da1b9392261cc879cd1005674d01cf (
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
|
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: jimmy-6
pkgname=libnoise
pkgver=1.0.0
pkgrel=1
pkgdesc="A portable, open-source, coherent noise-generating library for C++"
arch=('i686' 'x86_64' 'mips64el')
url="http://libnoise.sourceforge.net/"
license=('LGPL')
makedepends=('cmake' 'unzip')
source=("http://prdownloads.sourceforge.net/libnoise/libnoisesrc-${pkgver}.zip"
"CMakeLists.txt")
noextract=("libnoisesrc-${pkgver}.zip")
md5sums=('fc0d9b4f6477397568c3a9d5294b3b8c'
'913a4145cdc7c38d43698386321ea85b')
build() {
cd ${srcdir}
unzip "libnoisesrc-${pkgver}.zip"
cp 'CMakeLists.txt' 'noise'
mkdir build
cd build
cmake ../noise \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}
|