[arch-commits] Commit in libx86emu/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Tue Aug 16 16:15:22 UTC 2016
Date: Tuesday, August 16, 2016 @ 16:15:22
Author: arodseth
Revision: 186864
upgpkg: libx86emu 1.11-1
Modified:
libx86emu/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++----------------
1 file changed, 8 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-08-16 16:12:22 UTC (rev 186863)
+++ PKGBUILD 2016-08-16 16:15:22 UTC (rev 186864)
@@ -4,31 +4,23 @@
# Contributor: Gergely Imreh <imrehgATgmailDOTcom>
pkgname=libx86emu
-pkgver=1.7_1
-_fn="$pkgname-${pkgver/_/-}.1.src.rpm"
+pkgver=1.11
pkgrel=1
pkgdesc='x86 emulation library'
arch=('x86_64' 'i686')
-url='http://download.opensuse.org/source/factory/repo/oss/suse/src/'
+url='https://github.com/wfeldt/libx86emu'
license=('BSD')
-depends=('glibc')
-makedepends=('rpmextract')
-source=("http://download.opensuse.org/source/factory/repo/oss/suse/src/$_fn")
-sha256sums=('1ec2f7e01221997631e17ba49df3c7c384d42f9e5a5f3955ca10069dbc8623eb')
+makedepends=('git')
+source=("git://github.com/wfeldt/libx86emu#tag=$pkgver")
+md5sums=('SKIP')
-prepare() {
- # Wish they would just provide a normal $pkgname-$pkgver.tar.gz...
- rpmextract.sh "$_fn"
- tar Jxf "${_fn%-*.*}.tar.xz"
-}
-
build() {
- make -C "${_fn%-*.*}" LIBDIR=/usr/lib
+ make -C "$pkgname" LIBDIR=/usr/lib
}
package() {
- make -C "${_fn%-*.*}" LIBDIR=/usr/lib DESTDIR="$pkgdir" install
- install -Dm644 "$pkgname-${pkgver%_*}/LICENSE" \
+ make -C "$pkgname" LIBDIR=/usr/lib DESTDIR="$pkgdir" install
+ install -Dm644 "$pkgname/LICENSE" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
More information about the arch-commits
mailing list