summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/cmix/PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/pcr/cmix/PKGBUILD b/pcr/cmix/PKGBUILD
index 462f6e55d..5d6033128 100644
--- a/pcr/cmix/PKGBUILD
+++ b/pcr/cmix/PKGBUILD
@@ -1,17 +1,23 @@
-# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
+# Contributor: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
+# Maintainer: Freemor <freemor@freemor.ca>
pkgname=cmix
-pkgver=14
+pkgver=18
pkgrel=1
pkgdesc="cmix is a lossless data compression program aimed at optimizing compression ratio at the cost of high CPU/memory usage. (Warning: At least 32GB of RAM is recommended to run cmix.)"
arch=('i686' 'x86_64' 'armv7h')
+makedepends=('clang')
url="http://www.byronknoll.com/cmix.html"
license=('GPL3')
source=("http://www.byronknoll.com/$pkgname-v$pkgver.zip")
-sha512sums=('5d80d20a46473f05c2aff67e9da58106bc8089626b0093c64d681ffe3ddb1f8802223fe86c66cd924914e1fbe5d5c5cd91c21ac8fd74573ee11fbaca06c68398')
+sha512sums=('b3748e1355e6fd522cf35106bf1f204fde987c49f34cfe3091b61749949e0d321485cd6a039464d31528af24c4a41ea478d2f1dee13b53e167cb541df25c34ab')
build() {
cd $pkgname
+ # Remove -mnative for arm as it's not supported
+ if [[ "$CARCH" == "armv7h" ]]; then
+ sed -i 's/-march=native//g' makefile
+ fi
make
}