[arch-commits] Commit in libx86emu/trunk (PKGBUILD)
Alexander Rødseth
arodseth at gemini.archlinux.org
Fri Aug 27 10:27:47 UTC 2021
Date: Friday, August 27, 2021 @ 10:27:47
Author: arodseth
Revision: 1007328
upgpkg: libx86emu 3.2-1
Modified:
libx86emu/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-27 09:53:43 UTC (rev 1007327)
+++ PKGBUILD 2021-08-27 10:27:47 UTC (rev 1007328)
@@ -3,7 +3,7 @@
# Contributor: Gergely Imreh <imrehgATgmailDOTcom>
pkgname=libx86emu
-pkgver=3.1
+pkgver=3.2
pkgrel=1
pkgdesc='x86 emulation library'
arch=(x86_64)
@@ -10,24 +10,23 @@
url='https://github.com/wfeldt/libx86emu'
license=(BSD)
makedepends=(git setconf)
-source=("git+$url#commit=0aed125dcc2214ccf9e1a52e9925ae654cefbaf1") # 3.1
-sha256sums=('SKIP')
+source=("git+$url#commit=62222523eb5a7f7c3d9cbae2282028791c31d815") # tag: 3.2
+b2sums=('SKIP')
prepare() {
- sed -i 's/-shared -Wl/-shared '"$LDFLAGS"'/g' "$pkgname/Makefile"
- setconf "$pkgname/Makefile" \
+ 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
+ make -C $pkgname LIBDIR=/usr/lib
}
package() {
- make -C "$pkgname" LIBDIR=/usr/lib DESTDIR="$pkgdir" install
- install -Dm644 "$pkgname/LICENSE" \
+ make -C $pkgname LIBDIR=/usr/lib DESTDIR="$pkgdir" install
+ install -Dm644 $pkgname/LICENSE \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# getver: github.com/wfeldt/libx86emu/releases
-# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list