blob: 079b08ff99b3b7da7dffcd58089e66414af86799 (
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
38
39
40
41
42
|
# Maintainer: Harrison <contact@htv04.com>
# Co-Maintainer: Kaleb Elwert <belak@coded.io>
pkgname=picotron
pkgver=0.2.0c
pkgrel=1
pkgdesc="A fantasy workstation for making pixelart games, animations, music, demos and other curiosities."
arch=("x86_64")
url="https://www.lexaloffle.com/picotron.php"
license=("custom:commercial")
depends=("sdl2")
optdepends=()
provides=("${pkgname}")
source=("${pkgname}.desktop"
"${pkgname}.sh"
"${pkgname}.xml")
source_x86_64=("file://${pkgname}_${pkgver}_amd64.zip")
sha256sums=("04862c5d2f4ec10f4979ec316c4e14b01e073806d90bc23290e8420e142f710a"
"ed9753f910a3484ebf8a5ce37ee324d51f020a3124150aebff8d0b413211221f"
"45525e5ff68d3380492e188e626cf2208491ba0df79cc246aa8560e05f5b3100")
sha256sums_x86_64=("6d6c9e5bbe31c19c7a0305f3886e884c66b80792bfc78096b87a07d4792ab4a5")
package() {
pushd "${srcdir}/picotron" > /dev/null
# License
install -Dm644 "license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# Binaries
install -Dm644 "picotron.dat" "${pkgdir}/usr/share/${pkgname}/picotron.dat"
install -Dm755 "picotron_dyn" "${pkgdir}/usr/share/${pkgname}/picotron_dyn"
install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
# Desktop entry
install -Dm644 "lexaloffle-picotron.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm644 "${srcdir}/${pkgname}.xml" "${pkgdir}/usr/share/mime/packages/${pkgname}.xml"
popd > /dev/null
}
|