makedeb


easyrpg-rtp-alpha-git 0.1r.28dbdc9-0


Incomplete RPG Maker 2000/2003 material replacement

Click here to go back to the commit logs for easyrpg-rtp-alpha-git.

Commit:


Hash: bebb2db21a0438b7f1c5fe74b099cb9ae19676b3

Message: Initial mpr release

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 6830ac4..6278e1f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,17 @@
-pkgbase = easyrpg-rtp
-	pkgdesc = RPG Maker 2000/2003 material replacement
-	pkgver = 25.f15e1dd
-	pkgrel = 1
-	url = https://easy-rpg.org/
-	arch = any
-	license = GPL3
-	makedepends = git
-	makedepends = advancecomp
-	depends = easyrpg-player
-	source = easyrpg-rtp::git+https://github.com/EasyRPG/RTP.git
-	md5sums = SKIP
-
-pkgname = easyrpg-rtp
-
+generated-by = makedeb
+pkgname = easyrpg-rtp-git
+pkgbase = easyrpg-rtp-git
+pkgdesc = Incomplete RPG Maker 2000/2003 material replacement
+pkgrel = 0
+pkgver = 1.28dbdc9
+url = https://easy-rpg.org/
+arch = all
+license = CC BY 4.0
+makedepends = git
+makedepends = advancecomp
+optdepends = easyrpg-player
+source = easyrpg-rtp-git::git+https://github.com/EasyRPG/RTP.git
+b2sums = SKIP
+makedepends = git
+makedepends = advancecomp
+optdepends = easyrpg-player
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1eec92d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+easyrpg-rtp*
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
index 9c28ca5..43aa3bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,17 @@
-# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
+# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
+# Contributor: carstene1ns (AUR) <arch carsten-teibes de> - http://git.io/ctPKG
 
-pkgname=easyrpg-rtp
-pkgver=25.f15e1dd
-pkgrel=1
-pkgdesc="RPG Maker 2000/2003 material replacement "
-arch=('any')
+pkgname=easyrpg-rtp-git
+pkgver=1.28dbdc9
+pkgrel=0
+pkgdesc="Incomplete RPG Maker 2000/2003 material replacement"
+arch=('all')
 url="https://easy-rpg.org/"
-license=('GPL3')
+license=('CC BY 4.0')
 makedepends=('git' 'advancecomp')
-depends=('easyrpg-player')
+optdepends=('easyrpg-player')
 source=(${pkgname}::"git+https://github.com/EasyRPG/RTP.git")
-md5sums=('SKIP')
+b2sums=('SKIP')
 
 pkgver() {
   cd ${pkgname}
@@ -23,7 +24,18 @@ build() {
 }
 
 package () {
+  # Create folders
   mkdir -p "${pkgdir}/usr/share/easyrpg"
-  cp -r ${srcdir}/${pkgname} "${pkgdir}/usr/share/easyrpg/rtp"
-  rm -r "${pkgdir}/usr/share/easyrpg/rtp/.git"
+  mkdir -p "${pkgdir}/usr/share/doc/easyrpg"
+  mkdir -p "${pkgdir}/usr/share/games/easyrpg"
+  # Copy
+  cp -r "${srcdir}/${pkgname}" "${pkgdir}/usr/share/games/easyrpg/rtp"
+  rm -r "${pkgdir}/usr/share/games/easyrpg/rtp/.git"
+  rm "${pkgdir}/usr/share/games/easyrpg/rtp/Makefile"
+  # Create doc
+  mv "${pkgdir}/usr/share/games/easyrpg/rtp/AUTHORS.md" "${pkgdir}/usr/share/doc/easyrpg/authors"
+  mv "${pkgdir}/usr/share/games/easyrpg/rtp/README.md" "${pkgdir}/usr/share/doc/easyrpg/readme"
+  mv "${pkgdir}/usr/share/games/easyrpg/rtp/COPYING" "${pkgdir}/usr/share/doc/easyrpg/license"
+  # link rtp to share/easyrpg
+  ln -sf "/usr/share/games/easyrpg/rtp" "${pkgdir}/usr/share/easyrpg/rtp"
 }