[arch-commits] Commit in libx86emu/repos/community-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Saturday, May 4, 2019 @ 14:15:03
  Author: arodseth
Revision: 458876

archrelease: copy trunk to community-x86_64

Added:
  libx86emu/repos/community-x86_64/PKGBUILD
    (from rev 458875, libx86emu/trunk/PKGBUILD)
Deleted:
  libx86emu/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   59 ++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 32 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-04 14:14:51 UTC (rev 458875)
+++ PKGBUILD	2019-05-04 14:15:03 UTC (rev 458876)
@@ -1,27 +0,0 @@
-# $Id$
-# 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
-pkgrel=1
-pkgdesc='x86 emulation library'
-arch=('x86_64' 'i686')
-url='https://github.com/wfeldt/libx86emu'
-license=('BSD')
-makedepends=('git')
-source=("git+https://github.com/wfeldt/libx86emu#tag=$pkgver")
-md5sums=('SKIP')
-
-build() {
-  make -C "$pkgname" LIBDIR=/usr/lib
-}
-
-package() {
-  make -C "$pkgname" LIBDIR=/usr/lib DESTDIR="$pkgdir" install
-  install -Dm644 "$pkgname/LICENSE" \
-    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et:

Copied: libx86emu/repos/community-x86_64/PKGBUILD (from rev 458875, libx86emu/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-04 14:15:03 UTC (rev 458876)
@@ -0,0 +1,32 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Gergely Imreh <imrehgATgmailDOTcom>
+
+pkgname=libx86emu
+pkgver=2.3
+pkgrel=1
+pkgdesc='x86 emulation library'
+arch=(x86_64)
+url='https://github.com/wfeldt/libx86emu'
+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
+}
+
+package() {
+  make -C "$pkgname" LIBDIR=/usr/lib DESTDIR="$pkgdir" install
+  install -Dm644 "$pkgname/LICENSE" \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list