summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c191afabe9403ba87867dc34a4548e7d884ca266 (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
28
29
30
31
# Maintainer: Alex Gentilucci <alexander.gentilucci@gmail.com>
_commit=399382d7f96d
pkgname=zilf
pkgver=0.8
pkgrel=4
epoch=
pkgdesc="A set of tools for working with the ZIL interactive fiction language, including a compiler, assembler, disassembler, and game library."
arch=(any)
url="https://bitbucket.org/jmcgrew/zilf"
license=('GPL')
depends=('mono')
options=('!strip')
source=("https://bitbucket.org/jmcgrew/zilf/downloads/zilf-$pkgver.zip"
				"https://bitbucket.org/jmcgrew/zilf/get/$_commit.zip"
				"zapf.sh"
				"zilf.sh")
sha512sums=('15ac5054b64a7a9a1674a85a82d30d7599c446f5cdf47cebb9a48c5b0488ffd61d716b83754347ab79c789bab494e1271dd477e76f6cb47853a0958efbc8bfcf'
						'216dc611372e4b6a6e0029dca50f0282bcd299e6d375d3c87328be7b8d89c12cb05220b79782ed9cf194620c411513580d7c7a89df5b88136b158fc33735e84b'
						'd32f99285b021a558315b0c334af7f764410fe0c14a76a684af8a8f741b10b2f1cf98642b7a127ad25a57881fd57802c7d5918d151bc0c831809df1b4a06870c'
						'cfa4c5381eff3bc18840dd842260f803501dc0a584356b116e4f9b383a1b3a42ec8664e7fefac91df386cb611975b5250e56e6b69e5bbab0515947cc65103223')

package() {
	install -d -m 755 "${pkgdir}/usr/lib/zilf"
	install -d -m 755 "${pkgdir}/usr/lib/zilf/library"
	cp -dpr --no-preserve=ownership "${srcdir}/$pkgname-$pkgver/bin/"* "${pkgdir}/usr/lib/zilf"
	cp -dpr --no-preserve=ownership "${srcdir}/jmcgrew-zilf-$_commit/Library/"* "${pkgdir}/usr/lib/zilf/library/"
	chmod ugo+x "${pkgdir}/usr/lib/zilf/zilf.exe"
	chmod ugo+x "${pkgdir}/usr/lib/zilf/zapf.exe"
	install -D -m 755 "${srcdir}/zilf.sh" "${pkgdir}/usr/bin/zilf"
	install -D -m 755 "${srcdir}/zapf.sh" "${pkgdir}/usr/bin/zapf"
}