desktop/qmc2/PKGBUILD

30 lines
933 B
Bash
Raw Normal View History

pkgname=qmc2
2016-03-06 11:27:45 +08:00
pkgver=0.61
2011-04-04 18:05:47 +08:00
pkgrel=1
pkgdesc="Qt 4 based UNIX MAME frontend supporting SDLMAME."
2015-10-02 12:08:17 +08:00
url="http://qmc2.batcom-it.net/"
license=("GPL")
2013-01-15 02:08:45 +08:00
arch=('x86_64')
2016-03-06 11:27:45 +08:00
depends=('qtwebkit' 'phonon' 'sdl2' 'libxslt' 'libarchive')
makedepends=('rsync' 'mesa')
2013-12-17 07:10:03 +08:00
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
'qmamecat.desktop')
2016-03-06 11:27:45 +08:00
sha1sums=('31d6f0aa8d2678fe25be85598b50dcdd53119c1e'
2015-10-02 12:08:17 +08:00
'b495666abfaca7f9d1241c14d010b6037f66f4d4')
2014-04-14 00:46:20 +08:00
package() {
cd "$srcdir/$pkgname"
2013-12-17 07:10:03 +08:00
2016-03-06 11:27:45 +08:00
make PREFIX=/usr DATADIR=/usr/share SYSCONFDIR=/etc QTDIR=/usr LIBARCHIVE=1
2015-10-02 12:08:17 +08:00
}
2013-12-17 07:10:03 +08:00
2015-10-02 12:08:17 +08:00
package(){
cd "$srcdir/$pkgname"
2016-03-06 11:27:45 +08:00
make PREFIX=/usr DATADIR=/usr/share SYSCONFDIR=/etc QTDIR=/usr LIBARCHIVE=1 DESTDIR=$pkgdir install
2013-12-17 07:10:03 +08:00
2015-10-02 12:08:17 +08:00
install -d $pkgdir/usr/share/{applications,pixmaps}
install -D -m644 "$srcdir/qmamecat.desktop" "$pkgdir/usr/share/applications"
install -D -m644 "$srcdir/qmc2/data/img/mame.png" "$pkgdir/usr/share/pixmaps"
2013-12-17 07:10:03 +08:00
}