Skip to content

Commit

Permalink
addpkg: megaglest
Browse files Browse the repository at this point in the history
  • Loading branch information
XieJiSS authored and felixonmars committed Nov 11, 2021
1 parent 8e49d03 commit e8a21d0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions megaglest/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
--- PKGBUILD
+++ PKGBUILD
@@ -11,11 +11,19 @@ license=('GPL3')
depends=('curl' 'megaglest-data' 'xerces-c' 'sdl2' 'libvorbis' 'openal' 'libgl' 'lua51' 'icu' 'ftgl' 'glew'
'libircclient' 'miniupnpc' 'wxgtk3' 'glu' 'libx11' 'libminiupnpc.so')
makedepends=('ftjam' 'cmake' 'mesa')
-source=(https://github.com/MegaGlest/megaglest-source/releases/download/${pkgver}/megaglest-source-${pkgver}.tar.xz{,.asc})
+source=(https://github.com/MegaGlest/megaglest-source/releases/download/${pkgver}/megaglest-source-${pkgver}.tar.xz{,.asc}
+ ftp-fixes.patch::https://github.com/MegaGlest/megaglest-source/commit/5a3520540276a6fd06f7c88e571b6462978e3eab.patch)
sha256sums=('09fef67bc6878b1afbb0b403fec9fcf7dc270d500fdc62ed98e5f210e398ccb9'
- 'SKIP')
+ 'SKIP'
+ 'b8104c81839e8282f624891b3e102f27de0852950e13f52b938a7c65d54bb357')
validpgpkeys=('0DA321A44B30EF477E9A6DB8DE45EB9E71EEB59B')

+prepare() {
+ cd megaglest-${pkgver}
+
+ patch -Np1 -i ../ftp-fixes.patch
+}
+
build() {
cd megaglest-${pkgver}

0 comments on commit e8a21d0

Please sign in to comment.