[arch-commits] Commit in mgba/trunk (PKGBUILD mgba.desktop)
Jonathan Steel
jsteel at archlinux.org
Thu Feb 4 19:16:30 UTC 2016
Date: Thursday, February 4, 2016 @ 20:16:29
Author: jsteel
Revision: 160337
upgpkg: mgba 0.4.0-1
Modified:
mgba/trunk/PKGBUILD
Deleted:
mgba/trunk/mgba.desktop
--------------+
PKGBUILD | 13 ++++---------
mgba.desktop | 10 ----------
2 files changed, 4 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-04 18:31:33 UTC (rev 160336)
+++ PKGBUILD 2016-02-04 19:16:29 UTC (rev 160337)
@@ -5,7 +5,7 @@
pkgbase=mgba
pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
-pkgver=0.3.2
+pkgver=0.4.0
pkgrel=1
arch=('i686' 'x86_64')
url='http://mgba.io'
@@ -13,16 +13,11 @@
makedepends=('cmake' 'qt5-multimedia' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
'ffmpeg' 'imagemagick' 'desktop-file-utils')
install=$pkgbase.install
-source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz
- mgba.desktop)
-md5sums=('04d111daa79b21b96219f7e884245ddc'
- '8639165ead14363de45c0f9db3b7d97a')
+source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz)
+md5sums=('b37fcab5e7139b7c161d880576d2d1cc')
prepare() {
[[ ! -d build ]] && mkdir build || rm -rf build
-
- cd mgba-$pkgver/res
- convert mgba-1024.png -resize 256x256 mgba-256.png
}
build() {
@@ -58,7 +53,7 @@
cmake -DCOMPONENT=mgba-qt mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
-P build/cmake_install.cmake
- desktop-file-install mgba.desktop --dir "$pkgdir"/usr/share/applications/
+ desktop-file-install mgba-$pkgver/res/mgba-qt.desktop --dir "$pkgdir"/usr/share/applications/
install -Dm644 mgba-$pkgver/res/mgba-256.png "$pkgdir"/usr/share/pixmaps/mgba.png
install -d "$pkgdir"/usr/share/licenses/$pkgname
Deleted: mgba.desktop
===================================================================
--- mgba.desktop 2016-02-04 18:31:33 UTC (rev 160336)
+++ mgba.desktop 2016-02-04 19:16:29 UTC (rev 160337)
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Type=Application
-Version=1.0
-Name=mGBA
-Comment=mGBA Game Boy Advance Emulator
-Icon=mgba.png
-Exec=mgba-qt
-Categories=Game;Emulator;
-Terminal=false
-StartupNotify=false
More information about the arch-commits
mailing list