# Contributor: Díaz Urbaneja Diego # Maintainer: Díaz Urbaneja Diego pkgname=goxel pkgver=0.12.0 pkgrel=0 pkgdesc="Open source 3D voxel editor" url="https://goxel.xyz/" arch="all" license="GPL-3.0-only" makedepends="scons glfw-dev gtk+3.0-dev" options="!check" # check function not implemented source="https://github.com/guillaumechereau/goxel/archive/refs/tags/v$pkgver/goxel-$pkgver.tar.gz goxel.desktop fix-musl.patch " build() { CFLAGS="$CFLAGS -flto=auto" \ CXXFLAGS="$CXXFLAGS -flto=auto" \ scons mode=release werror=false -j ${JOBS:-2} } package() { install -Dm775 goxel "$pkgdir"/usr/bin/goxel install -Dm644 icon.png "$pkgdir"/usr/share/icons/hicolor/1024x1024/apps/goxel.png install -Dm644 "$srcdir"/goxel.desktop "$pkgdir"/usr/share/applications/goxel.desktop } sha512sums=" 6895d57eb393996e833b210dda09a442dc49d4cb42b2111114e925d8a0281c4f389d951d339dc2c475f59f66509e93e61deaa985860be9907d4ab222240a7080 goxel-0.12.0.tar.gz 10662d11d73a51d06db753b4f1727e05b1b9a5ef63ee4321cd4f445806f6162af010f89d7f98ff3ba25df14df1fb9bc8693a98d93206af208fdb28b7a49e46e9 goxel.desktop f4305e54a67c4dc36386ba7943294537e38020c010b2483b2446a716f44072ed699358348101b2eb9229ef911b50141daab08a5462172d121f57e7ba9a8db59f fix-musl.patch "