Skip to content

Instantly share code, notes, and snippets.

@tonylambiris
Created April 12, 2019 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonylambiris/807b98d097e0cf96d517bc0155d5aec9 to your computer and use it in GitHub Desktop.
Save tonylambiris/807b98d097e0cf96d517bc0155d5aec9 to your computer and use it in GitHub Desktop.
PKGBUILD diff for newlisp-devel
diff --git a/PKGBUILD b/PKGBUILD
index 5ad563f..54e5f9e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ provides=('newlisp')
conflicts=('newlisp')
options=('docs' '!makeflags')
source=("http://www.newlisp.org/downloads/development/inprogress/${_pkgname}-$pkgver.tgz")
-sha512sums=('0b5f124eaa7384ce6f5658038f848207b637c4927aa17b66f4c9876b2201731d52889ad19b652ac07301faef660fc967a4c0225145ace52635a3d80af3599655')
+sha512sums=('715229dfe13b5cb1e095d1879b7869193c36cc5126907857974c444b7a6b2a96a7181a8a9c7c4429f5ded9077c622d5b1ed861ddd08945868ae29772f9b010ef')
prepare() {
cd "$_pkgname-$pkgver"
@@ -25,7 +25,11 @@ prepare() {
build() {
cd "$_pkgname-$pkgver"
./configure --prefix=/usr --with-ffi
- make
+ if [ "$CARCH" = "i686" ]; then
+ make -f makefile_linux_utf8_ffi
+ else
+ make -f makefile_linuxLP64_utf8_ffi
+ fi
}
package() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment