makedeb


surgescript 0.6.1-0


SurgeScript is a scripting language for games.

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

Commit:


Hash: 3286f60dd7bfde7eda4d72b319739813be18f2e6

Message: 0.6.0

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 8b4d324..7418fd4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,8 +2,8 @@ generated-by = makedeb
 pkgname = surgescript
 pkgbase = surgescript
 pkgdesc = SurgeScript is a scripting language for games.
-pkgrel = 1
-pkgver = 0.5.6.1
+pkgrel = 0
+pkgver = 0.6.0
 url = https://github.com/alemart/surgescript
 arch = i386
 arch = amd64
@@ -13,6 +13,6 @@ arch = armhf
 arch = arm64
 license = Apache-2.0
 makedepends = cmake
-source = surgescript-0.5.6.1.tar.gz::https://github.com/alemart/surgescript/archive/v0.5.6.1.tar.gz
-b2sums = 965715523893781b5c63851d6cd1cc3a4842451807a96b85377a166d4190e5d7cbe83f65b2086b1ed8b2956cf89dd188ddb6135f30b778f1b1d50d9dc9e3028a
+source = surgescript-0.6.0.tar.gz::https://github.com/alemart/surgescript/archive/v0.6.0.tar.gz
+b2sums = 5f8010be28e156df9f322d8c9eb3a8a3e8ef1e2a37d0942907e01f8b5e6b2ae1ef11140d6e2b0e8c8e067478f1bb52c947e8ee89e096ef06f674c14debe80d66
 makedepends = cmake
diff --git a/PKGBUILD b/PKGBUILD
index 1a759b1..aca54a7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,15 @@
 # Contributor: José Rebelo (AUR) <joserebelo at outlook dot com>
 
 pkgname=surgescript
-pkgver=0.5.6.1
-pkgrel=1
+pkgver=0.6.0
+pkgrel=0
 pkgdesc='SurgeScript is a scripting language for games.'
 arch=('i386' 'amd64' 'arm' 'armel' 'armhf' 'arm64')
 url='https://github.com/alemart/surgescript'
 license=('Apache-2.0')
 makedepends=('cmake')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/alemart/surgescript/archive/v$pkgver.tar.gz")
-b2sums=('965715523893781b5c63851d6cd1cc3a4842451807a96b85377a166d4190e5d7cbe83f65b2086b1ed8b2956cf89dd188ddb6135f30b778f1b1d50d9dc9e3028a')
+b2sums=('5f8010be28e156df9f322d8c9eb3a8a3e8ef1e2a37d0942907e01f8b5e6b2ae1ef11140d6e2b0e8c8e067478f1bb52c947e8ee89e096ef06f674c14debe80d66')
 
 build() {
   cd $pkgname-$pkgver
@@ -23,8 +23,10 @@ package() {
   cd $pkgname-$pkgver/build
   make DESTDIR="$pkgdir/" install
   cd ..
-  install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/$pkgname/license"
+
   install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/readme"
   install -Dm644 "CHANGES.md" "$pkgdir/usr/share/doc/$pkgname/changelog"
+  ln -s /usr/share/common-licenses/Apache-2.0 "$pkgdir/usr/share/doc/$pkgname/"
+
   gzip "$pkgdir/usr/share/doc/$pkgname/changelog"
 }