blob: cf90e5bf6c358468624e6af4c291487d459e6fa2 (
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
|
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: erbridge <f@erbridge.co.uk>
pkgname=amulet
pkgver=1.21.10
pkgrel=1
pkgdesc="Lua-based audio / visual toolkit for small-scope games and experimentation"
arch=('x86_64')
url="http://www.amulet.xyz/"
license=('MIT')
depends=('gcc-libs-multilib')
source=("https://github.com/ianmaclarty/amulet/releases/download/v${pkgver}/amulet-v${pkgver}-linux.zip")
md5sums=('885e9a8dbcf646511dd43f857a07aac9')
options=('!strip')
package() {
cd "amulet-v${pkgver}"
install -d -m755 "${pkgdir}/usr/share/${pkgname}/builds"
cp -r builds/* "${pkgdir}/usr/share/${pkgname}/builds"
find "${pkgdir}/usr/share/${pkgname}/builds" -type f -print0 | xargs -0 chmod 0644
find "${pkgdir}/usr/share/${pkgname}/builds" -type d -print0 | xargs -0 chmod 0755
install -D -m755 amulet "${pkgdir}/usr/share/${pkgname}/amulet"
install -d -m755 "${pkgdir}/usr/bin"
ln -s "/usr/share/${pkgname}/amulet" "${pkgdir}/usr/bin/${pkgname}"
install -D -m644 amulet_license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
}
|