summaryrefslogtreecommitdiff
path: root/user/muparser/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-03 15:20:13 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-03 15:20:13 +0000
commit34a07d3bb56cfffbba8277707c54ef38f06e7ce0 (patch)
tree83fc6669e675a9b5d118fbf28ba73ad42d2db84d /user/muparser/APKBUILD
parent65a953a85de88cb81ff04cb3329809739eaf3cf7 (diff)
downloadpackages-34a07d3bb56cfffbba8277707c54ef38f06e7ce0.tar.gz
packages-34a07d3bb56cfffbba8277707c54ef38f06e7ce0.tar.bz2
packages-34a07d3bb56cfffbba8277707c54ef38f06e7ce0.tar.xz
packages-34a07d3bb56cfffbba8277707c54ef38f06e7ce0.zip
user/muparser: fix URL and builddir
Diffstat (limited to 'user/muparser/APKBUILD')
-rw-r--r--user/muparser/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/user/muparser/APKBUILD b/user/muparser/APKBUILD
index 479ca0d67..f088af0fa 100644
--- a/user/muparser/APKBUILD
+++ b/user/muparser/APKBUILD
@@ -4,7 +4,7 @@ pkgname=muparser
pkgver=2.2.6.1
pkgrel=0
pkgdesc="Fast math parser library"
-url="http://beltoforion.de/article.php?a=muparser"
+url="https://beltoforion.de/article.php?a=muparser"
arch="all"
options="!check" # No test suite.
license="MIT"
@@ -14,8 +14,6 @@ subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/beltoforion/$pkgname/archive/v$pkgver.tar.gz"
build() {
- cd "$builddir/build"
-
cmake \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
@@ -23,13 +21,12 @@ build() {
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_VERBOSE_MAKEFILE=ON \
$cmake_opts \
- ../
- make
+ -Bbuild
+ make -C build
}
package() {
- cd "$builddir/build"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" -C build install
}
sha512sums="01bfc8cc48158c8413ae5e1da2ddbac1c9f0b9075470b1ab75853587d641dd195ebea268e1060a340098fd8015bc5f77d8e9cde5f81cffeade2f157c5f295496 muparser-2.2.6.1.tar.gz"