blob: e59dbd519d76910f27b6c8f0c9c06c5fdfde92d1 (
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
32
33
34
35
36
37
|
# Maintainer: Louise <louise dot aur at mailbox dot org>
pkgname=twinejs-standalone
pkgver=2.10.0
pkgrel=1
pkgdesc="an open-source tool for telling interactive, nonlinear stories"
arch=('x86_64')
url="http://twinery.org/"
license=('GPL3')
depends=('libxss'
'nss'
'gtk3')
source=("https://github.com/klembot/twinejs/releases/download/${pkgver}/Twine-${pkgver}-Linux-x64.zip"
"https://twinery.org/icons/twine.svg"
"twinejs.desktop")
b2sums=('b8f600e1e49d79e48f85546417625e871fa65a2c8e6e8a7ddd0670971c358e51cd67addc2f57d5f1ed8478e708fc71eb7df0355a400a2016a617d504f8b417fe'
'8fd73e20b6809a2bd792b20f4263cbc6501bb3d4bb58236eb3bd9a9e503891bed99e4ab1f0db4510a689bba34016a2d6abb368c919ef89d039eed6641d8cdd52'
'd45475680d4cace6d6cfa35836b77c9c264ccff255d6132312c9ec153e1bf9c9a6386edbc4974cb205e35280576de38439ccfd05f0c16c02047d3a0052d7c7d2')
noextract=(twine_${pkgver}_linux64.zip)
prepare() {
mkdir -p ${pkgname}_${pkgver}_linux64
bsdtar -xf Twine-${pkgver}-Linux-x64.zip -C "${pkgname}_${pkgver}_linux64"
}
package() {
find "${pkgname}_${pkgver}_linux64" -type f -exec install -Dm 755 "{}" "$pkgdir/opt/{}" \;
install -D twinejs.desktop "$pkgdir/usr/share/applications/twinejs.desktop"
install -D twine.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/twinejs.svg"
mkdir -p "$pkgdir/usr/bin"
ln -s "/opt/${pkgname}_${pkgver}_linux64/twine" "$pkgdir/usr/bin/Twine"
}
|