diff options
author | Aryan Ghasemi | 2024-01-08 18:32:29 +0330 |
---|---|---|
committer | Aryan Ghasemi | 2024-01-08 18:32:29 +0330 |
commit | 422798428e520dcd254bdd16b3bc9b24827c3c41 (patch) | |
tree | fb54e178e5e365105acbc113c547283c6f763b97 /PKGBUILD | |
parent | ecad35db15b328cb249f0742c5f2c5c6397e1568 (diff) | |
download | aur-422798428e520dcd254bdd16b3bc9b24827c3c41.tar.gz |
New version updated
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 43 |
1 files changed, 16 insertions, 27 deletions
@@ -1,45 +1,34 @@ # Maintainer: Josh Mandle <difarem@gmail.com> pkgname=smw-git -pkgver=1.8.beta2 +pkgver=2 pkgrel=1 pkgdesc='Super Mario multiplayer game.' -url='http://smw.supersanctuary.net/site/' +url='http://smwstuff.net/' arch=('i686' 'x86_64') license=('GPL') -depends=('sdl_image' 'sdl_mixer') -makedepends=('git') +depends=('sdl_image' 'sdl_mixer' 'sdl' 'zlib') +makedepends=('git' 'cmake') provides=('smw') -conflicts=('smw-svn') +conflicts=('smw-bin') +source=('git+https://github.com/mmatyas/supermariowar.git') -source=('git://github.com/erlehmann/Super-Mario-War.git' 'build.patch' - 'smw.desktop' 'smw-leveledit.desktop' 'smw-worldedit.desktop' - 'smw.png' 'smw-leveledit.png' 'smw-worldedit.png') -md5sums=('SKIP' '8ccb01b1497ef9973fbf39eb9cfae576' - 'b4efac68e43d10d56d04ebb836407113' '7035fa75a0283b34664a996e1e8b3baa' 'b0ea8ca8fb8b0a5f74ed69d402f26775' - '58a1731de3de9d46c14d400ad2c6acdc' '8ceb70b9311fde38e4fa598daf8c9f2b' '0f5f9cfa11d102d9693d37b841c756aa') +sha256sums=('SKIP') prepare() { - cd -- "$srcdir/Super-Mario-War" - patch -Np1 <../../build.patch +# cp $srcdir/supermariowar + cd -- "$srcdir/supermariowar" + git submodule update --init + [[ -d build ]] || mkdir build } build() { - cd -- "$srcdir/Super-Mario-War" - ./configure - make -j3 + cd -- "$srcdir/supermariowar/build/" + cmake .. -DCMAKE_INSTALL_PREFIX:path="${pkgdir}/usr/" -DSMW_BINDIR:path="${pkgdir}/usr/bin" -DSMW_DATADIR:path="${pkgdir}/var/lib/smw" -DSMW_DOCDIR:path="${pkgdir}/usr/share/doc/smw/" + make -j4 # -jN = build on N thread } package() { - install -Dm644 "smw.desktop" "$pkgdir/usr/share/applications/smw.desktop" - install -Dm644 "smw-leveledit.desktop" "$pkgdir/usr/share/applications/smw-leveledit.desktop" - install -Dm644 "smw-worldedit.desktop" "$pkgdir/usr/share/applications/smw-worldedit.desktop" - - install -Dm644 "smw.png" "$pkgdir/usr/share/pixmaps/smw.png" - install -Dm644 "smw-leveledit.png" "$pkgdir/usr/share/pixmaps/smw-leveledit.png" - install -Dm644 "smw-worldedit.png" "$pkgdir/usr/share/pixmaps/smw-worldedit.png" - - cd -- "$srcdir/Super-Mario-War" - - make DESTDIR="$pkgdir" install + cd -- "$srcdir/supermariowar/build" + make install } |