mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/mgba to 0.9.1-1
This commit is contained in:
parent
b572e97125
commit
45d7a60097
1 changed files with 8 additions and 4 deletions
|
@ -7,15 +7,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
|
||||
|
@ -30,10 +30,14 @@ build() {
|
|||
|
||||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue