[arch-commits] Commit in nestopia/trunk (PKGBUILD build-fix.patch)
Sergej Pupykin
spupykin at archlinux.org
Wed Oct 4 14:09:27 UTC 2017
Date: Wednesday, October 4, 2017 @ 14:09:26
Author: spupykin
Revision: 261455
clean up
Modified:
nestopia/trunk/PKGBUILD
Deleted:
nestopia/trunk/build-fix.patch
-----------------+
PKGBUILD | 12 ++----------
build-fix.patch | 18 ------------------
2 files changed, 2 insertions(+), 28 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-04 14:08:19 UTC (rev 261454)
+++ PKGBUILD 2017-10-04 14:09:26 UTC (rev 261455)
@@ -12,16 +12,9 @@
arch=('i686' 'x86_64')
depends=('sdl2' 'alsa-lib' 'gtk3' 'glu' 'libarchive' 'libao')
makedepends=('unzip' 'mesa' 'xdg-utils' 'cmake')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/rdanbrook/nestopia/tarball/$pkgver"
- "build-fix.patch")
-sha256sums=('ee14b9476748669ac1af73116beb2a6e3dd6b41c0b1d2f7149fb8716bb02d749'
- '17a773a0043bc20cea63ddecd7a7892b54d9bcea39b7f02fff21e8c5a154c335')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rdanbrook/nestopia/tarball/$pkgver")
+sha256sums=('ee14b9476748669ac1af73116beb2a6e3dd6b41c0b1d2f7149fb8716bb02d749')
-prepare() {
- cd "$srcdir"/rdanbrook-nestopia-*
-# patch -p1 <"$srcdir"/build-fix.patch
-}
-
build() {
cd "$srcdir"/rdanbrook-nestopia-*
cmake -DCMAKE_INSTALL_PREFIX=/usr .
@@ -30,6 +23,5 @@
package() {
cd "$srcdir"/rdanbrook-nestopia-*
-# mkdir -p "$pkgdir"/usr/{bin,share/nestopia}
make install DESTDIR="$pkgdir"
}
Deleted: build-fix.patch
===================================================================
--- build-fix.patch 2017-10-04 14:08:19 UTC (rev 261454)
+++ build-fix.patch 2017-10-04 14:09:26 UTC (rev 261455)
@@ -1,18 +0,0 @@
-diff -wbBur rdanbrook-nestopia-f1dde9b/Makefile rdanbrook-nestopia-f1dde9b.my/Makefile
---- rdanbrook-nestopia-f1dde9b/Makefile 2013-01-20 20:10:25.000000000 +0400
-+++ rdanbrook-nestopia-f1dde9b.my/Makefile 2013-01-21 15:18:54.727577673 +0400
-@@ -197,11 +197,11 @@
- install -m 0644 NstDatabase.xml $(DATADIR)
- install -m 0644 source/unix/icons/*.png $(DATADIR)/icons
- install -m 0644 source/unix/icons/*.svg $(DATADIR)/icons
-- install -m 0644 source/unix/icons/nestopia.svg $(PREFIX)/share/pixmaps
-- xdg-desktop-menu install --novendor $(DATADIR)/nestopia.desktop
-+ install -m 0644 source/unix/icons/nestopia.svg $(PREFIX)/share/pixmaps/nestopia.svg
-+ install -Dm0644 $(DATADIR)/nestopia.desktop $(PREFIX)/share/applications/nestopia.desktop
-
- uninstall:
-- xdg-desktop-menu uninstall $(DATADIR)/nestopia.desktop
-+ rm $(PREFIX)/share/applications/nestopia.desktop
- rm $(PREFIX)/share/pixmaps/nestopia.svg
- rm $(BINDIR)/$(BIN)
- rm -rf $(DATADIR)
More information about the arch-commits
mailing list