[arch-commits] Commit in mgba/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Wed Dec 6 14:26:37 UTC 2017
Date: Wednesday, December 6, 2017 @ 14:26:35
Author: heftig
Revision: 272535
archrelease: copy trunk to community-staging-x86_64
Added:
mgba/repos/community-staging-x86_64/PKGBUILD
(from rev 272534, mgba/trunk/PKGBUILD)
Deleted:
mgba/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 122 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-06 14:25:48 UTC (rev 272534)
+++ PKGBUILD 2017-12-06 14:26:35 UTC (rev 272535)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Jonathan Steel <jsteel at archlinux.org>
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Duck Hunt <vaporeon at tfwno.gf>
-
-pkgbase=mgba
-pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
-pkgver=0.6.1
-pkgrel=2
-arch=('x86_64')
-url='http://mgba.io'
-license=('custom:MPL2')
-makedepends=('cmake' 'qt5-multimedia' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
- 'ffmpeg' 'libmagick' 'desktop-file-utils' 'qt5-tools')
-source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz)
-md5sums=('e2a8c7caf440da0232a13187ef8073ca')
-
-prepare() {
- [[ ! -d build ]] && mkdir build || rm -rf build
-}
-
-build() {
- cd build
- cmake "$srcdir"/mgba-$pkgver -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib
- make
-}
-
-package_libmgba() {
- pkgdesc='Shared library of mGBA'
- depends=('zlib' 'libpng' 'libzip' 'libedit' 'ffmpeg' 'libmagick')
-
- cmake -DCOMPONENT=libmgba mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
- -P build/cmake_install.cmake
- install -Dm644 mgba-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_mgba-sdl() {
- pkgdesc='A Nintendo Gameboy Advance Emulator focusing on both speed and accuracy'
- depends=('libmgba' 'sdl2')
-
- cmake -DCOMPONENT=mgba-sdl mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
- -P build/cmake_install.cmake
-
- install -d "$pkgdir"/usr/share/licenses/$pkgname
- ln -s /usr/share/licenses/libmgba/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_mgba-qt() {
- pkgdesc='A Nintendo Gameboy Advance Emulator focusing on both speed and accuracy. Qt5 UI.'
- depends=('libmgba' 'qt5-multimedia' 'sdl2')
-
- cmake -DCOMPONENT=mgba-qt mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
- -P build/cmake_install.cmake
-
- 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
- ln -s /usr/share/licenses/libmgba/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: mgba/repos/community-staging-x86_64/PKGBUILD (from rev 272534, mgba/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-06 14:26:35 UTC (rev 272535)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Duck Hunt <vaporeon at tfwno.gf>
+
+pkgbase=mgba
+pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
+pkgver=0.6.1
+pkgrel=3
+arch=('x86_64')
+url='http://mgba.io'
+license=('custom:MPL2')
+makedepends=('cmake' 'qt5-multimedia' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
+ 'ffmpeg' 'libmagick' 'desktop-file-utils' 'qt5-tools')
+source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz)
+md5sums=('e2a8c7caf440da0232a13187ef8073ca')
+
+prepare() {
+ [[ ! -d build ]] && mkdir build || rm -rf build
+}
+
+build() {
+ cd build
+ cmake "$srcdir"/mgba-$pkgver -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+package_libmgba() {
+ pkgdesc='Shared library of mGBA'
+ depends=('zlib' 'libpng' 'libzip' 'libedit' 'ffmpeg' 'libmagick')
+
+ cmake -DCOMPONENT=libmgba mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+ -P build/cmake_install.cmake
+ install -Dm644 mgba-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_mgba-sdl() {
+ pkgdesc='A Nintendo Gameboy Advance Emulator focusing on both speed and accuracy'
+ depends=('libmgba' 'sdl2')
+
+ cmake -DCOMPONENT=mgba-sdl mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+ -P build/cmake_install.cmake
+
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ ln -s /usr/share/licenses/libmgba/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_mgba-qt() {
+ pkgdesc='A Nintendo Gameboy Advance Emulator focusing on both speed and accuracy. Qt5 UI.'
+ depends=('libmgba' 'qt5-multimedia' 'sdl2')
+
+ cmake -DCOMPONENT=mgba-qt mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+ -P build/cmake_install.cmake
+
+ 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
+ ln -s /usr/share/licenses/libmgba/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list