summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD21
2 files changed, 14 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 997827461ab..6c239866fc3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Wed Mar 30 08:27:16 UTC 2016
+# Wed Mar 30 08:37:51 UTC 2016
pkgbase = chipmunk
pkgdesc = A high-performance 2D rigid body physics library
pkgver = 7.0.1
diff --git a/PKGBUILD b/PKGBUILD
index ced288f76af..85d2b2e62a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,17 +14,22 @@ makedepends=('cmake')
source=(http://files.slembcke.net/chipmunk/release/Chipmunk-${pkgver%%.*}.x/Chipmunk-$pkgver.tgz)
build() {
- cd "$srcdir/Chipmunk-$pkgver"
- sed -i '/MAKE_PROPERTIES_REF(cpShape, IsSensor);/d' include/chipmunk/chipmunk_ffi.h
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_DEMOS=OFF -DCMAKE_C_FLAGS="-DCHIPMUNK_FFI" .
- make clean
- make
+ cd "$srcdir/Chipmunk-$pkgver"
+ sed -i '/MAKE_PROPERTIES_REF(cpShape, IsSensor);/d' include/chipmunk/chipmunk_ffi.h
+ cmake -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_DEMOS=OFF \
+ -DCMAKE_C_FLAGS="-DCHIPMUNK_FFI" \
+ -DNDEBUG=ON \
+ .
+ make clean
+ make
}
package() {
- cd "$srcdir/Chipmunk-$pkgver"
- install -Dm0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- make DESTDIR="$pkgdir" install
+ cd "$srcdir/Chipmunk-$pkgver"
+ install -Dm0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ make DESTDIR="$pkgdir" install
}
sha256sums=('fe54b464777d89882a9f9d3d6deb17189af8bc5d63833b25bb1a7d16c3e69260')