[arch-commits] Commit in libx86emu/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Sat May 4 14:14:51 UTC 2019


    Date: Saturday, May 4, 2019 @ 14:14:51
  Author: arodseth
Revision: 458875

upgpkg: libx86emu 2.3-1

Modified:
  libx86emu/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-04 13:38:59 UTC (rev 458874)
+++ PKGBUILD	2019-05-04 14:14:51 UTC (rev 458875)
@@ -1,18 +1,24 @@
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
 # Contributor: Kaiting Chen <kaitocracy at gmail.com>
 # Contributor: Gergely Imreh <imrehgATgmailDOTcom>
 
 pkgname=libx86emu
-pkgver=1.12
+pkgver=2.3
 pkgrel=1
 pkgdesc='x86 emulation library'
-arch=('x86_64')
+arch=(x86_64)
 url='https://github.com/wfeldt/libx86emu'
-license=('BSD')
-makedepends=('git')
+license=(BSD)
+makedepends=(git setconf)
 source=("git+https://github.com/wfeldt/libx86emu#tag=$pkgver")
 md5sums=('SKIP')
 
+prepare() {
+  sed -i 's/-shared -Wl/-shared '"$LDFLAGS"'/g' "$pkgname/Makefile"
+  setconf "$pkgname/Makefile" \
+    CFLAGS="$CFLAGS -shared -fPIC -fvisibility=hidden -fomit-frame-pointer -w"
+}
+
 build() {
   make -C "$pkgname" LIBDIR=/usr/lib
 }



More information about the arch-commits mailing list