makedeb


opensurge 0.6.1.2-0


Open Surge is a fun 2D retro platformer inspired by Sonic games, and a game creation system.

Click here to go back to the commit logs for opensurge.

Commit:


Hash: 04f5e146aba0e3177e12bbb4600c863813c78503

Message: 0.6.1

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 4f9d544..94601dc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ pkgname = opensurge
 pkgbase = opensurge
 pkgdesc = Open Surge is a fun 2D retro platformer inspired by Sonic games, and a game creation system.
 pkgrel = 0
-pkgver = 0.6.0.3
+pkgver = 0.6.1
 url = https://github.com/alemart/opensurge
 arch = i386
 arch = amd64
@@ -12,13 +12,13 @@ arch = armel
 arch = armhf
 arch = arm64
 depends = liballegro5.2>=5.2.7
-depends = surgescript>=0.5.6.0
+depends = surgescript>=0.6.0
 license = GPL3
 makedepends = cmake
 makedepends = liballegro5-dev>=5.2.7
-makedepends = surgescript>=0.5.6.0
-source = opensurge-0.6.0.3.tar.gz::https://github.com/alemart/opensurge/archive/v0.6.0.3.tar.gz
-b2sums = 94e8cfff1e80c395ce853d44753938156df17e238b69eb4dc0677ecaea23d211d778d029524c9736f6b74a84bf3c4660c3b6c1dc7375a1d8877212bd74bbe5ce
+makedepends = surgescript>=0.6.0
+source = opensurge-0.6.1.tar.gz::https://github.com/alemart/opensurge/archive/v0.6.1.tar.gz
+b2sums = 93d43818f6becca685077926d9bb3be8431c6de3b5267203db2f47e3d17e8c8eb3ce70b9fcbcc00307135068939f34a2b5f93d981111deada77f8d9a910b6625
 makedepends = cmake
 makedepends = liballegro5-dev>=5.2.7
-makedepends = surgescript>=0.5.6.0
+makedepends = surgescript>=0.6.0
diff --git a/PKGBUILD b/PKGBUILD
index 5a6a03c..e475b7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,16 +2,16 @@
 # Contributor: José Rebelo (AUR) <joserebelo at outlook dot com>
 
 pkgname=opensurge
-pkgver=0.6.0.3
+pkgver=0.6.1
 pkgrel=0
 pkgdesc='Open Surge is a fun 2D retro platformer inspired by Sonic games, and a game creation system.'
 arch=('i386' 'amd64' 'arm' 'armel' 'armhf' 'arm64')
 url="https://github.com/alemart/opensurge"
 license=('GPL3')
-depends=('liballegro5.2>=5.2.7' 'surgescript>=0.5.6.0')
-makedepends=('cmake' 'liballegro5-dev>=5.2.7' 'surgescript>=0.5.6.0')
+depends=('liballegro5.2>=5.2.7' 'surgescript>=0.6.0')
+makedepends=('cmake' 'liballegro5-dev>=5.2.7' 'surgescript>=0.6.0')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/alemart/opensurge/archive/v$pkgver.tar.gz")
-b2sums=('94e8cfff1e80c395ce853d44753938156df17e238b69eb4dc0677ecaea23d211d778d029524c9736f6b74a84bf3c4660c3b6c1dc7375a1d8877212bd74bbe5ce')
+b2sums=('93d43818f6becca685077926d9bb3be8431c6de3b5267203db2f47e3d17e8c8eb3ce70b9fcbcc00307135068939f34a2b5f93d981111deada77f8d9a910b6625')
 
 build() {
   cd $pkgname-$pkgver
@@ -23,9 +23,11 @@ build() {
 package() {
   cd $pkgname-$pkgver/build
   make DESTDIR="$pkgdir/" install
+  #doc
   mkdir -p "$pkgdir/usr/share/doc/$pkgname/"
-  mv "$pkgdir/usr/share/games/$pkgname/LICENSE" "$pkgdir/usr/share/doc/$pkgname/license"
   mv "$pkgdir/usr/share/games/$pkgname/README.md" "$pkgdir/usr/share/doc/$pkgname/readme"
   mv "$pkgdir/usr/share/games/$pkgname/CHANGES.md" "$pkgdir/usr/share/doc/$pkgname/changelog"
+  ln -s /usr/share/common-licenses/GPL-3 "$pkgdir/usr/share/doc/$pkgname/"
+
   gzip "$pkgdir/usr/share/doc/$pkgname/changelog"
 }