makedeb
Grid Wars 2: A clone of Geometry Wars
Click here to go back to the commit logs for gridwars-git.
Hash: 5e6680d486ea089342f36aeb72f43c5f8f75a2e8
Message: Initial mpr release
diff --git a/.SRCINFO b/.SRCINFO
index e6f1aad..7a1db54 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,30 @@
-pkgbase = gridwars-git
- pkgdesc = Grid Wars 2: A clone of Geometry Wars
- pkgver = r13.e760698
- pkgrel = 2
- url = https://github.com/mmatyas/GridWars
- arch = x86_64
- license = GPL
- makedepends = git
- depends = libglvnd
- depends = libxdmcp
- depends = libxxf86vm
- depends = libxau
- depends = libxft
- depends = libx11
- depends = glu
- source = https://github.com/bmx-ng/bmx-ng/releases/download/v0.129.3.45.linux.x64/BlitzMax_linux_x64_0.129.3.45.tar.xz
- source = git+https://github.com/mmatyas/GridWars.git
- source = gridwars.desktop
- sha256sums = 635108f2b93d654934ae2baf15698082e2f21f070d6872da8e42bb9d4e331447
- sha256sums = SKIP
- sha256sums = 2ad4d272c2d4696b27eb3f8c5bff3b9d0c540703680124796c147cbf11eabb8e
-
+generated-by = makedeb
pkgname = gridwars-git
+pkgbase = gridwars-git
+pkgdesc = Grid Wars 2: A clone of Geometry Wars
+pkgrel = 0
+pkgver = 1.e760698
+url = https://github.com/mmatyas/GridWars
+arch = amd64
+depends = libglvnd0
+depends = libxdmcp6
+depends = libxxf86vm1
+depends = libxau6
+depends = libxft2
+depends = libx11-6
+depends = libglu1-mesa
+license = freeware
+makedepends = bmx-ng
+makedepends = git
+makedepends = libasound2-dev
+makedepends = libpulse-dev
+makedepends = libxft-dev
+makedepends = libxxf86vm-dev
+source = git+https://github.com/mmatyas/GridWars.git
+sha256sums = SKIP
+makedepends = bmx-ng
+makedepends = git
+makedepends = libasound2-dev
+makedepends = libpulse-dev
+makedepends = libxft-dev
+makedepends = libxxf86vm-dev
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..630a1c9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+GridWars
+gridwars-git*
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
index eb4bcc1..b2ccd89 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,50 +1,74 @@
-# Maintainer: trap000d <trap000d at gmail dot com>
+# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
+# Contributor: trap000d (AUR) <trap000d at gmail dot com>
pkgname=gridwars-git
-pkgver=r13.e760698
-pkgrel=2
+pkgver=1.e760698
+pkgrel=0
pkgdesc="Grid Wars 2: A clone of Geometry Wars"
-_bmver="0.129.3.45"
_srcname="GridWars"
-arch=('x86_64')
+arch=('amd64')
url="https://github.com/mmatyas/GridWars"
-license=('GPL')
-depends=('libglvnd' 'libxdmcp' 'libxxf86vm' 'libxau' 'libxft' 'libx11' 'glu')
-makedepends=('git')
-source=("https://github.com/bmx-ng/bmx-ng/releases/download/v${_bmver}.linux.x64/BlitzMax_linux_x64_0.129.3.45.tar.xz"
- "git+https://github.com/mmatyas/GridWars.git"
- "gridwars.desktop")
-sha256sums=('635108f2b93d654934ae2baf15698082e2f21f070d6872da8e42bb9d4e331447'
- 'SKIP'
- '2ad4d272c2d4696b27eb3f8c5bff3b9d0c540703680124796c147cbf11eabb8e')
+license=('freeware')
+depends=('libglvnd0' 'libxdmcp6' 'libxxf86vm1' 'libxau6' 'libxft2' 'libx11-6' 'libglu1-mesa')
+makedepends=('bmx-ng' 'git' 'libasound2-dev' 'libpulse-dev' 'libxft-dev' 'libxxf86vm-dev')
+source=("git+https://github.com/mmatyas/GridWars.git")
+sha256sums=('SKIP')
pkgver() {
cd ${srcdir}/${_srcname}
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- export PATH=${srcdir}/BlitzMax/bin:$PATH
cd ${srcdir}/${_srcname}
+ # if using firejail, add these in makedeb.local
+ #ignore noexec ${HOME}
+ #ignore memory-deny-write-execute
bmk makeapp -t gui -r -w gridwars.bmx
}
package() {
#Creating Directories
- install -m755 -d $pkgdir/usr/{bin,share/{applications,pixmaps,games/gridwars/{gfx/{high,med,low,solid,user},music,sounds}}}
+ install -m755 -d $pkgdir/usr/{games,libexec/gridwars,share/{applications,doc/gridwars,pixmaps,games/gridwars/{gfx/{high,med,low,solid,user},music,sounds}}}
# Installing
- install -D -m755 $srcdir/${_srcname}/gridwars $pkgdir/usr/share/games/gridwars/
+ install -D -m755 $srcdir/${_srcname}/gridwars $pkgdir/usr/libexec/gridwars/
install -D -m644 $srcdir/${_srcname}/gfx/colourpick.png $pkgdir/usr/share/games/gridwars/gfx/colourpick.png
for i in high low med solid user; do
install -D -m644 $srcdir/${_srcname}/gfx/$i/* $pkgdir/usr/share/games/gridwars/gfx/$i
done
install -D -m644 $srcdir/${_srcname}/music/* $pkgdir/usr/share/games/gridwars/music/
install -D -m644 $srcdir/${_srcname}/sounds/* $pkgdir/usr/share/games/gridwars/sounds/
- install -D -m644 $srcdir/gridwars.desktop $pkgdir/usr/share/applications/gridwars.desktop
+
+ install -D -m644 $srcdir/${_srcname}/Readme.txt $pkgdir/usr/share/doc/gridwars/readme
+ install -D -m644 $srcdir/${_srcname}/README.md $pkgdir/usr/share/doc/gridwars/readme2
+
+ # Desktop file
+echo "[Desktop Entry]
+Type=Application
+Version=1.0
+Encoding=UTF-8
+Name=GridWars 2
+Name[en]=GridWars 2
+Name[fr]=GridWars 2
+GenericName=A Geometry Wars clone
+GenericName[en]=A Geometry Wars clone
+GenericName[fr]=Un clone de Geometry Wars
+Comment=A shoot-them-up taking place on a magnetic grid where you must survive to enemies waves.
+Comment[en]=A shoot-them-up taking place on a magnetic grid where you must survive to enemies waves.
+Comment[fr]=Un shoot-them-up prenant place sur une grille magnétique ou vous devez survivre à de multiples vagues d'ennemies.
+Icon=gridwars
+Exec=gridwars
+Terminal=false
+StartupNotify=false
+Categories=Application;Game;ArcadeGame" > $pkgdir/usr/share/applications/gridwars.desktop
+
install -D -m644 $srcdir/${_srcname}/gfx/high/whiteplayer.png $pkgdir/usr/share/pixmaps/gridwars.png
- # Linking binary and stuff
- ln -sf /usr/share/games/gridwars/gridwars $pkgdir/usr/bin/gridwars
+ # Linking binary and stuff
+ ln -sf /usr/share/games/gridwars/gfx $pkgdir/usr/libexec/gridwars/gfx
+ ln -sf /usr/share/games/gridwars/music $pkgdir/usr/libexec/gridwars/music
+ ln -sf /usr/share/games/gridwars/sounds $pkgdir/usr/libexec/gridwars/sounds
+ ln -sf /usr/libexec/gridwars/gridwars $pkgdir/usr/games/gridwars
}
diff --git a/gridwars.desktop b/gridwars.desktop
deleted file mode 100644
index f96ff20..0000000
--- a/gridwars.desktop
+++ /dev/null
@@ -1,18 +0,0 @@
-[Desktop Entry]
-Type=Application
-Version=1.0
-Encoding=UTF-8
-Name=GridWars 2
-Name[en]=GridWars 2
-Name[fr]=GridWars 2
-GenericName=A Geometry Wars clone
-GenericName[en]=A Geometry Wars clone
-GenericName[fr]=Un clone de Geometry Wars
-Comment=A shoot-them-up taking place on a magnetic grid where you must survive to enemies waves.
-Comment[en]=A shoot-them-up taking place on a magnetic grid where you must survive to enemies waves.
-Comment[fr]=Un shoot-them-up prenant place sur une grille magnétique ou vous devez survivre à de multiples vagues d'ennemies.
-Icon=gridwars
-Exec=gridwars
-Terminal=false
-StartupNotify=false
-Categories=Application;Game;ArcadeGame