summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Teibes2014-08-18 12:16:10 +0200
committerCarsten Teibes2014-08-18 12:16:10 +0200
commite109953c51121fb02b32e2facb0fa370c101465c (patch)
tree080676e3670632e6a748f41d182db85e96ba7d0a
downloadaur-e109953c51121fb02b32e2facb0fa370c101465c.tar.gz
[add] lib32-muparser 2.2.3
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD36
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1da01646052
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = lib32-muparser
+ pkgdesc = Fast math parser library (32 bit)
+ pkgver = 2.2.3
+ pkgrel = 1
+ url = http://muparser.sourceforge.net
+ arch = x86_64
+ license = custom
+ makedepends = gcc-multilib
+ depends = gcc-libs-multilib
+ depends = muparser
+ options = !makeflags
+ source = http://downloads.sourceforge.net/muparser/muparser_v2_2_3.zip
+ sha256sums = dfe831b69392ab0b1eb59d3601b7b1575554a85057cf2f234f64f930c4148902
+
+pkgname = lib32-muparser
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..76a7959dd01
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
+# Contributor: trya <tryagainprod@gmail.com>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: damir <damir.archlinux.org>
+
+pkgname=lib32-muparser
+pkgver=2.2.3
+pkgrel=1
+pkgdesc="Fast math parser library (32 bit)"
+arch=('x86_64')
+url="http://muparser.sourceforge.net"
+license=('custom')
+depends=('gcc-libs-multilib' 'muparser')
+makedepends=('gcc-multilib')
+options=('!makeflags')
+source=("http://downloads.sourceforge.net/muparser/muparser_v${pkgver//./_}.zip")
+sha256sums=('dfe831b69392ab0b1eb59d3601b7b1575554a85057cf2f234f64f930c4148902')
+
+build() {
+ cd muparser_v${pkgver//./_}
+
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+ ./configure --prefix=/usr --libdir=/usr/lib32 --disable-samples
+ make
+}
+
+package() {
+ make -C muparser_v${pkgver//./_} DESTDIR="$pkgdir" install
+ # remove stuff already present in muparser package
+ rm -rf "$pkgdir"/usr/{include,share}
+ # license
+ install -d "$pkgdir"/usr/share/licenses
+ ln -s muparser "$pkgdir"/usr/share/licenses/$pkgname
+}