AUR/packages/stencyl/PKGBUILD
2022-06-07 04:30:27 +03:00

31 lines
944 B
Bash

# Maintainer: Alexander Popov <iiiypuk (at) fastmail.fm>
pkgname=stencyl
pkgver=4.0.4
pkgrel=1
pkgdesc='A multi purpose IDE specialized in C/C++/Rust/Python/PHP and Node.js. Written in C++'
arch=('x86_64')
url="http://www.stencyl.com/"
license=("custom")
source=(
"stencyl"
"stencyl.desktop"
"stencyl.png"
"Stencyl-4.0.4-linux.tar.gz::https://www.stencyl.com/download/get/4.0.4/linux.tar.gz/"
)
md5sums=(
"869a36a5833cffe48cbbe32bb397f7c0"
"59164e515932ea0cc5932fc46e8e5da4"
"c99ae55db267e86c0936e01662ee12ea"
"4cffaf180e5038c3c211859b31c295e3"
)
package() {
install -d "$pkgdir/opt/Stencyl-${pkgver}"
install -Dm755 "$srcdir/stencyl" "$pkgdir/usr/bin/stencyl"
install -Dm755 "$srcdir/stencyl.desktop" "$pkgdir/usr/share/applications/stencyl.desktop"
install -Dm644 "$srcdir/stencyl.png" "$pkgdir/usr/share/pixmaps/stencyl.png"
cp --preserve=mode -r "${srcdir}/Stencyl-${pkgver}-linux/"* "${pkgdir}"/opt/Stencyl-${pkgver}
}