makedeb


principia-git 1709751673-1


Physics-based sandbox building game.

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

Commit:


Hash: aa333da6fb203d97f5089e41e1960403a80df48d

Message: Deps update, fix versioning

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 292bcf2..e1d573d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,31 +1,28 @@
 pkgbase = principia-git
 	pkgdesc = Physics-based sandbox building game.
-	pkgver = 1.5.2.r1.e03d1e0
-	pkgrel = 3
+	pkgver = 1709751673
+	pkgrel = 1
 	url = https://github.com/Bithack/principia/
 	arch = amd64
 	arch = i686
 	license = bsd-3
 	makedepends = libsdl2-dev
-	makedepends = libsdl2-image-dev
-	makedepends = libsdl2-mixer-dev
-	makedepends = libsdl2-ttf-dev
 	makedepends = libgtk-3-dev
 	makedepends = libcurl4-openssl-dev
 	makedepends = libpng-dev
 	makedepends = libjpeg-dev
-	makedepends = libfreetype6-dev
+	makedepends = libfreetype-dev
+	makedepends = libglew-dev
 	makedepends = cmake
 	makedepends = ninja-build
+	makedepends = git
 	depends = libsdl2-2.0-0
-	depends = libsdl2-image-2.0-0
-	depends = libsdl2-mixer-2.0-0
-	depends = libsdl2-ttf-2.0-0
 	depends = libgtk-3-0
-	depends = libcurl3-gnutls
+	depends = libcurl4
 	depends = libpng16-16
 	depends = libjpeg62-turbo
 	depends = libfreetype6
+	depends = libglew2.2
 	source = git+https://github.com/Bithack/principia
 	sha256sums = SKIP
 
diff --git a/PKGBUILD b/PKGBUILD
index b742e8c..fb8d16f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,31 +1,26 @@
 # Maintainer: ROllerozxa <rollerozxa@voxelmanip.se>
 pkgname=principia-git
-pkgver=1.5.2.r1.e03d1e0
-pkgrel=3
+pkgver=1709751673
+pkgrel=1
 pkgdesc="Physics-based sandbox building game."
 url='https://github.com/Bithack/principia/'
 arch=('amd64' 'i686')
 license=('bsd-3')
-depends=(
-		'libsdl2-2.0-0' 'libsdl2-image-2.0-0' 'libsdl2-mixer-2.0-0' 'libsdl2-ttf-2.0-0'
-		'libgtk-3-0' 'libcurl3-gnutls' 'libpng16-16' 'libjpeg62-turbo' 'libfreetype6')
-makedepends=(
-		'libsdl2-dev' 'libsdl2-image-dev' 'libsdl2-mixer-dev' 'libsdl2-ttf-dev'
-		'libgtk-3-dev' 'libcurl4-openssl-dev' 'libpng-dev' 'libjpeg-dev' 'libfreetype6-dev'
-		'cmake' 'ninja-build')
+depends=('libsdl2-2.0-0' 'libgtk-3-0' 'libcurl4' 'libpng16-16' 'libjpeg62-turbo' 'libfreetype6' 'libglew2.2')
+makedepends=('libsdl2-dev' 'libgtk-3-dev' 'libcurl4-openssl-dev' 'libpng-dev' 'libjpeg-dev' 'libfreetype-dev' 'libglew-dev'
+			'cmake' 'ninja-build' 'git')
 source=('git+https://github.com/Bithack/principia')
 sha256sums=(SKIP)
 options=()
 
 pkgver() {
 	cd principia
-	printf "1.5.2.beta.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+	git log -1 --format=%ct
 }
 
 build() {
 	cd principia
-	mkdir -p build
-	cd build
+	mkdir -p build; cd build
 	cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=/usr
 	ninja
 }