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

Sergej Pupykin spupykin at archlinux.org
Wed Oct 4 14:07:57 UTC 2017


    Date: Wednesday, October 4, 2017 @ 14:07:56
  Author: spupykin
Revision: 261452

upgpkg: nestopia 1.48-1

Modified:
  nestopia/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-04 14:07:45 UTC (rev 261451)
+++ PKGBUILD	2017-10-04 14:07:56 UTC (rev 261452)
@@ -4,7 +4,7 @@
 # Contributor: robb_force <robb_force at holybuffalo.net>
 
 pkgname=nestopia
-pkgver=1.47
+pkgver=1.48
 pkgrel=1
 pkgdesc='An NES emulator featuring cycle exact emulation, a ridiculous number of mappers, and lots of custom sound chips.'
 url='http://0ldsk00l.ca/nestopia/'
@@ -11,24 +11,25 @@
 license=('GPL')
 arch=('i686' 'x86_64')
 depends=('sdl2' 'alsa-lib' 'gtk3' 'glu' 'libarchive' 'libao')
-makedepends=('unzip' 'mesa' 'xdg-utils')
+makedepends=('unzip' 'mesa' 'xdg-utils' 'cmake')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/rdanbrook/nestopia/tarball/$pkgver"
 	"build-fix.patch")
-md5sums=('ea879cfc8693613dc42c0a7503cd9144'
-         '4a852d8e484c2fe214377ec18a68356f')
+sha256sums=('ee14b9476748669ac1af73116beb2a6e3dd6b41c0b1d2f7149fb8716bb02d749'
+            '17a773a0043bc20cea63ddecd7a7892b54d9bcea39b7f02fff21e8c5a154c335')
 
 prepare() {
   cd "$srcdir"/rdanbrook-nestopia-*
-  patch -p1 <"$srcdir"/build-fix.patch
+#  patch -p1 <"$srcdir"/build-fix.patch
 }
 
 build() {
   cd "$srcdir"/rdanbrook-nestopia-*
-  make PREFIX=/usr
+  cmake -DCMAKE_INSTALL_PREFIX=/usr .
+  make
 }
 
 package() {
   cd "$srcdir"/rdanbrook-nestopia-*
-  mkdir -p "$pkgdir"/usr/{bin,share/nestopia}
-  make install PREFIX="$pkgdir"/usr
+#  mkdir -p "$pkgdir"/usr/{bin,share/nestopia}
+  make install DESTDIR="$pkgdir"
 }



More information about the arch-commits mailing list