summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD24
2 files changed, 16 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c5af65d0f49..90a6947c3ed 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = lib32-muparser
pkgdesc = Fast math parser library (32 bit)
- pkgver = 2.2.4
+ pkgver = 2.2.5
pkgrel = 1
- url = http://muparser.sourceforge.net
+ url = http://muparser.beltoforion.de/
arch = x86_64
- license = custom
+ license = MIT
makedepends = gcc-multilib
- depends = gcc-libs-multilib
depends = muparser
- source = muparser_2.2.4.zip::https://docs.google.com/uc?id=0BzuB-ydOOoduejdwdTQwcF9JLTA&export=download
- sha256sums = fe4e207b9b5ee0e8ba155c3a7cc22ea6085313e0a17b7568a8a86eaa0d441431
+ depends = lib32-gcc-libs
+ source = muparser-2.2.5.tar.gz::https://github.com/beltoforion/muparser/archive/v2.2.5.tar.gz
+ sha256sums = 0666ef55da72c3e356ca85b6a0084d56b05dd740c3c21d26d372085aa2c6e708
pkgname = lib32-muparser
diff --git a/PKGBUILD b/PKGBUILD
index 9f322333286..2ee02d09417 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,23 +4,19 @@
# Contributor: damir <damir.archlinux.org>
pkgname=lib32-muparser
-pkgver=2.2.4
+pkgver=2.2.5
pkgrel=1
pkgdesc="Fast math parser library (32 bit)"
arch=('x86_64')
-url="http://muparser.sourceforge.net"
-license=('custom')
-depends=('gcc-libs-multilib' 'muparser')
+url="http://muparser.beltoforion.de/"
+license=('MIT')
+depends=('muparser' 'lib32-gcc-libs')
makedepends=('gcc-multilib')
-source=(muparser_$pkgver.zip::"https://docs.google.com/uc?id=0BzuB-ydOOoduejdwdTQwcF9JLTA&export=download")
-sha256sums=('fe4e207b9b5ee0e8ba155c3a7cc22ea6085313e0a17b7568a8a86eaa0d441431')
-
-prepare() {
- chmod +x muparser_v${pkgver//./_}/configure
-}
+source=(muparser-$pkgver.tar.gz::"https://github.com/beltoforion/muparser/archive/v$pkgver.tar.gz")
+sha256sums=('0666ef55da72c3e356ca85b6a0084d56b05dd740c3c21d26d372085aa2c6e708')
build() {
- cd muparser_v${pkgver//./_}
+ cd muparser-$pkgver
export CC="gcc -m32"
export CXX="g++ -m32"
@@ -30,9 +26,9 @@ build() {
}
package() {
- make -C muparser_v${pkgver//./_} DESTDIR="$pkgdir" install
- # remove stuff already present in muparser package
- rm -rf "$pkgdir"/usr/{include,share}
+ make -C muparser-$pkgver DESTDIR="$pkgdir" install
+ # remove headers already present in muparser package
+ rm -rf "$pkgdir"/usr/include
# license
install -d "$pkgdir"/usr/share/licenses
ln -s muparser "$pkgdir"/usr/share/licenses/$pkgname