mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
31 lines
961 B
Bash
31 lines
961 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=qmc2
|
|
pkgver=0.36
|
|
pkgrel=1
|
|
pkgdesc="Qt 4 based UNIX MAME frontend supporting SDLMAME."
|
|
url="http://qmc2.arcadehits.net"
|
|
license=("GPL")
|
|
arch=('i686' 'x86_64')
|
|
depends=('qt' 'phonon' 'sdl' 'libxmu')
|
|
makedepends=('rsync' 'mesa')
|
|
categories=('games')
|
|
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
|
|
md5sums=('db374fcdef5f680729b26af88766c4fb')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname"
|
|
export CTIME=0
|
|
make PREFIX=/usr DATADIR=/usr/share SYSCONFDIR=/etc QTDIR=/usr
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname"
|
|
make PREFIX=/usr DATADIR=/usr/share SYSCONFDIR=/etc QTDIR=/usr DESTDIR=$pkgdir install
|
|
install -d $pkgdir/usr/share/{applications,pixmaps}
|
|
install -D -m644 "$srcdir/qmc2/data/img/mame.png" "$pkgdir/usr/share/pixmaps"
|
|
} |