summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 20a6e6948c9ac0519ad997b919c4ddf4999156bb (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: Harrison <htv04rules at gmail com>

pkgname=picotron
pkgver=0.1.0g
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=("picotron")

source=("${pkgname}.desktop"
        "${pkgname}.xml")
source_x86_64=("file://${pkgname}_${pkgver}_amd64.zip")

sha256sums=("04862c5d2f4ec10f4979ec316c4e14b01e073806d90bc23290e8420e142f710a"
            "45525e5ff68d3380492e188e626cf2208491ba0df79cc246aa8560e05f5b3100")
sha256sums_x86_64=("b3cdf1d3d4e531e9bac3d8a2fe19a4392110372c178138b59b8f241b7b374f99")

package() {
  pushd "${srcdir}/picotron" > /dev/null
  
  # License
  install -Dm644 "license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  
  # Binary
  install -Dm755 "picotron_dyn" "${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
}