Update packages

This commit is contained in:
moparisthebest
2019-03-03 20:21:14 -05:00
parent e2fd47cde7
commit 59e4cffa8b
130 changed files with 1079 additions and 2539 deletions

View File

@@ -2,7 +2,7 @@
# Contributor: Sebastien Duthil <duthils@free.fr>
pkgname=factorio-demo
pkgver=0.15.36
pkgver=0.16.51
pkgrel=1
pkgdesc="A 2D game about building and maintaining factories."
arch=('x86_64')
@@ -12,25 +12,26 @@ depends=('libxcursor' 'alsa-lib' 'libxrandr' 'libxinerama' 'mesa')
conflicts=('factorio' 'factorio-headless' 'factorio-experimental')
makedepends=('xz')
source=(factorio.desktop
LICENSE)
source_x86_64=(factorio_demo_x64_${pkgver}.tar.xz::http://www.factorio.com/get-download/${pkgver}/demo/linux64)
LICENSE
factorio_demo_x64_${pkgver}.tar.xz::http://www.factorio.com/get-download/${pkgver}/demo/linux64
)
sha256sums=('c3bbe51c3c35641d6064ff0f8470294f8a317f0413bb149f6bd47461b03804bf'
'67ec2f88afff5d7e0ca5fd3301b5d98655269c161a394368fa0ec49fbc0c0e21')
sha256sums_x86_64=('fcff6735880094ef3690c5c6a70261ec93c44c508cad2050f487f2a3e7438a29')
'67ec2f88afff5d7e0ca5fd3301b5d98655269c161a394368fa0ec49fbc0c0e21'
'ca58a5cb40f7e8b3b741bc8f9ab9d587ca0cda930d6799fd45cd9f91d00fc67d')
# no modifications needed, the executable looks for:
# - data in /usr/share/factorio
# - config in ~/.factorio
package() {
cd "$srcdir/factorio"
cd "${srcdir}/factorio"
install -d "${pkgdir}/usr/bin"
install -d "${pkgdir}/usr/share/applications"
install -d "${pkgdir}/usr/share/factorio"
install -d "${pkgdir}/usr/share/licenses/factorio-demo"
install -m755 bin/*/factorio "${pkgdir}/usr/bin/factorio"
install -m755 "bin/x64/factorio" "${pkgdir}/usr/bin/factorio"
cp -r data/* "${pkgdir}/usr/share/factorio"
install -m644 "${srcdir}/factorio.desktop" "${pkgdir}/usr/share/applications/factorio.desktop"
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/factorio-demo/LICENSE"