diff options
author | Alexander F. Rødseth | 2021-06-28 14:41:36 +0200 |
---|---|---|
committer | Alexander F. Rødseth | 2021-06-28 14:41:36 +0200 |
commit | 8b6a14b8dd2bb37472f427c331e341fd66b9e981 (patch) | |
tree | d97334a4183a7c35057400be10ded5d904ef1d9a /PKGBUILD | |
parent | 62edb1e034af15f4d06df567e5dca0b45bdbf1ab (diff) | |
download | aur-8b6a14b8dd2bb37472f427c331e341fd66b9e981.tar.gz |
Make Zoem build again (still segfaults when given no arguments)
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -1,17 +1,21 @@ -# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org> pkgname=zoem pkgver=11.166 -pkgrel=1 +pkgrel=2 pkgdesc='Zoem programming language' -arch=('x86_64' 'i686') -url='http://micans.org/zoem/' -license=('GPL2') -source=("http://micans.org/zoem/src/$pkgname-${pkgver/./-}.tar.gz") +arch=(x86_64) +url='https://micans.org/zoem/' +license=(GPL2) +source=("https://micans.org/zoem/src/$pkgname-${pkgver/./-}.tar.gz") sha256sums=('1267a222ae2ee998a91dbe66df19cf998a0e7db45c7e59821049ae6b791f37fe') build() { cd "$pkgname-${pkgver/./-}" + export LDFLAGS="$LDFLAGS -Wl,--allow-multiple-definition" + export CFLAGS="$CFLAGS -march=x86-64 -std=c11 -w" + export CXXFLAGS="$CXXFLAGS -march=x86-64 -std=c++14 -w" + autoreconf -i ./configure --prefix=/usr make } @@ -19,5 +23,3 @@ build() { package() { make -C "$pkgname-${pkgver/./-}" install DESTDIR="$pkgdir" } - -# vim:set ts=2 sw=2 et: |