[arch-commits] Commit in mgba/trunk (PKGBUILD)
Jonathan Steel
jsteel at archlinux.org
Thu May 13 06:52:13 UTC 2021
Date: Thursday, May 13, 2021 @ 06:52:13
Author: jsteel
Revision: 932916
upgpkg: mgba 0.9.1-1
FS#69985
FS#70442
Modified:
mgba/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-13 06:42:22 UTC (rev 932915)
+++ PKGBUILD 2021-05-13 06:52:13 UTC (rev 932916)
@@ -4,15 +4,15 @@
pkgbase=mgba
pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
-pkgver=0.9.0
+pkgver=0.9.1
pkgrel=1
arch=('x86_64')
url='http://mgba.io'
license=('custom:MPL2')
makedepends=('cmake' 'qt5-multimedia' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
- 'ffmpeg' 'imagemagick' 'desktop-file-utils' 'qt5-tools')
+ 'ffmpeg' 'desktop-file-utils' 'qt5-tools')
source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz)
-md5sums=('8ec54054bf7270d78dab0eb0090626ed')
+md5sums=('330a6d475fc492198ff34328ebfee3f5')
prepare() {
[[ ! -d build ]] && mkdir build || rm -rf build
@@ -27,10 +27,14 @@
package_libmgba() {
pkgdesc='Shared library of mGBA'
- depends=('zlib' 'libpng' 'libzip' 'libedit' 'ffmpeg' 'imagemagick')
+ depends=('zlib' 'libpng' 'libzip' 'libedit' 'ffmpeg' 'sqlite')
cmake -DCOMPONENT=libmgba mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
-P build/cmake_install.cmake
+
+ cmake -DCOMPONENT=mgba-dev mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+ -P build/cmake_install.cmake
+
install -Dm644 mgba-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
More information about the arch-commits
mailing list