summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 331fc4a03a8a3d5dfb8a41affcc61be72f378d79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: MuggleTwist <muggletwist@protonmail.com>
# Contributor: Mike Polvere <mic.tjs@gmail.com>

pkgname=mame-tools
pkgver=0.224
pkgrel=2
pkgdesc="Tools for MAME / MESS: Castool, CHDman (Compressed Hunks of Data - CHD manager), floptool, jedutil, ldresample, romcmp ..."
arch=('x86_64')
	if [[ "$CARCH" == "x86_64" ]]; then
		_ARCH_="amd64"
	fi	
url="http://mamedev.org"
license=('custom:MAME')
depends=('flac>=1.3.0' 'libutf8proc>=1.3' 'sdl2>=2.0.8' 'zlib>=1.1.4')
optdepends=('mame')
source=("http://security.ubuntu.com/ubuntu/pool/universe/m/mame/${pkgname}_${pkgver}+dfsg.1-${pkgrel}_${_ARCH_}.deb")
md5sums=('SKIP')


package() {
	# Extract package data
	tar xf data.tar.xz 
	cp -r usr "${pkgdir}"
	rm -rf "${pkgdir}/usr/share/doc/mame-tools/copyright"

	install -D -m644 "${srcdir}/usr/share/doc/mame-tools/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}