makedeb


principia-git 1709751673-1


Physics-based sandbox building game.

Click here to go back to the commit logs for principia-git.

Commit:


Hash: 54aa5a4ff607c64cd575e9569dcc9520e4ed8278

Message: Update executable name

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 6a85c08..34f4533 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ generated-by = makedeb-makepkg
 pkgbase = principia-git
 	pkgdesc = Physics-based sandbox building game.
 	pkgver = 1.5.2.r1.b41feea
-	pkgrel = 1
+	pkgrel = 2
 	url = https://github.com/Bithack/principia/
 	arch = amd64
 	arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 4fc1926..2a16734 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: ROllerozxa <rollerozxa@voxelmanip.se>
 pkgname=principia-git
 pkgver=1.5.2.r1.b41feea
-pkgrel=1
+pkgrel=2
 pkgdesc="Physics-based sandbox building game."
 url='https://github.com/Bithack/principia/'
 arch=('amd64' 'i686')
@@ -12,7 +12,7 @@ depends=(
 makedepends=(
 	'libsdl2-dev' 'libsdl2-gfx-dev' 'libsdl2-image-dev' 'libsdl2-mixer-dev' 'libsdl2-ttf-dev'
 	'libgtk2.0-dev' 'libcurl4-openssl-dev' 'libpng-dev' 'libjpeg-dev' 'libfreetype6-dev'
-	'automake')
+	'automake' 'libglew-dev')
 source=('git+https://github.com/Bithack/principia')
 sha256sums=(SKIP)
 options=()
@@ -31,9 +31,9 @@ build() {
 
 package() {
 	cd principia/build-linux
-	install -Dm755 "apparatus2" "${pkgdir}/opt/principia/principia"
+	install -Dm755 "principia" "${pkgdir}/opt/principia/principia"
 	install -d "${pkgdir}/usr/bin/"
-	ln -s /opt/principia/principia "${pkgdir}/usr/bin/"
+	ln -s /opt/principia/principia "${pkgdir}/usr/bin/principia"
 	
 	install -Dm644 "principia.desktop" "${pkgdir}/usr/share/applications/principia.desktop"
 	install -Dm644 "principia-url-handler.desktop" "${pkgdir}/usr/share/applications/principia-url-handler.desktop"