makedeb


zsdx 1.12.3-2


The Legend of Zelda: Mystery of Solarus DX - A free 2D Zelda fangame

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

Commit:


Hash: 6a19372bf4e788e20bb4f00456f9d38bc3e0b608

Message: minor fix

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 65be481..ce9d6a4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
 pkgname = zsdx
 pkgbase = zsdx
 pkgdesc = The Legend of Zelda: Mystery of Solarus DX - A free 2D Zelda fangame
-pkgrel = 0
+pkgrel = 1
 pkgver = 1.12.3
 url = https://www.solarus-games.org/en/games/the-legend-of-zelda-mystery-of-solarus-dx
 arch = all
diff --git a/.gitignore b/.gitignore
index d53cbf4..dcdecd8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+error.txt
 pkg
 src
 zsdx*
diff --git a/PKGBUILD b/PKGBUILD
index d773de9..ed21d67 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
 
 pkgname=zsdx
 pkgver=1.12.3
-pkgrel=0
+pkgrel=1
 pkgdesc="The Legend of Zelda: Mystery of Solarus DX - A free 2D Zelda fangame"
 arch=('all')
 url="https://www.solarus-games.org/en/games/the-legend-of-zelda-mystery-of-solarus-dx"
@@ -25,4 +25,8 @@ build() {
 package() {
   cd "${srcdir}/${pkgname}-v${pkgver}"
   make DESTDIR="${pkgdir}/" PREFIX="/usr" install
+  install -Dm644 $srcdir/$pkgname/changelog.md "${pkgdir}/usr/share/doc/${pkgname}/changelog"
+  install -Dm644 $srcdir/$pkgname/readme.md "${pkgdir}/usr/share/doc/${pkgname}/readme"
+  install -Dm644 $srcdir/$pkgname/license.txt "${pkgdir}/usr/share/doc/${pkgname}/license"
+  gzip "${pkgdir}/usr/share/doc/${pkgname}/changelog"
 }