[arch-commits] Commit in mdds/repos (extra-any extra-any/PKGBUILD)
Andreas Radke
andyrtr at nymeria.archlinux.org
Sun Apr 27 09:52:29 UTC 2014
Date: Sunday, April 27, 2014 @ 11:52:28
Author: andyrtr
Revision: 211807
archrelease: copy trunk to extra-any
Added:
mdds/repos/extra-any/
mdds/repos/extra-any/PKGBUILD
(from rev 211806, mdds/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: mdds/repos/extra-any/PKGBUILD (from rev 211806, mdds/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD (rev 0)
+++ extra-any/PKGBUILD 2014-04-27 09:52:28 UTC (rev 211807)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: kusakata <shohei atmark kusakata period com>
+
+pkgname=mdds
+pkgver=0.10.3
+pkgrel=1
+pkgdesc="A collection of multi-dimensional data structures and indexing algorithms"
+arch=('any')
+url="http://code.google.com/p/multidimalgorithm/"
+license=('MIT')
+checkdepends=('boost')
+# see http://code.google.com/p/multidimalgorithm/wiki/Downloads
+source=(http://kohei.us/files/mdds/src/${pkgname}_${pkgver}.tar.bz2)
+sha1sums=('0c4fa77918b8cc8ad32460c8d8a679e065976dbe')
+
+build() {
+ cd ${pkgname}_${pkgver}
+
+ # this is only used in tests
+ sed -i -e '/^CPPFLAGS_NODEBUG=/s/=.*/="${CXXFLAGS}"/' configure
+
+ ./configure --prefix=/usr
+ # make
+}
+
+check() {
+ cd ${pkgname}_${pkgver}
+ make check
+}
+
+package() {
+ cd ${pkgname}_${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
More information about the arch-commits
mailing list