diff options
author | Côme Chilliet | 2021-10-08 14:37:30 +0200 |
---|---|---|
committer | Côme Chilliet | 2021-10-08 14:37:30 +0200 |
commit | 992959ed7ad82bc9efb55e831aee823210f027d2 (patch) | |
tree | cbf12d32f39643c595ad5689a2f74a3730200d87 | |
parent | 94b2600389bb461901c4cd94b3e4767682388560 (diff) | |
download | aur-992959ed7ad82bc9efb55e831aee823210f027d2.tar.gz |
Switch to karjonas repository and fix build
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 15 insertions, 11 deletions
@@ -1,8 +1,8 @@ pkgbase = puzzlemoppet-git pkgdesc = A challenging 3D puzzle game where you must guide the Moppet through the vast and eternal void of space by solving the various and beautiful puzzles thrown at you - pkgver = r59.5583142 + pkgver = r124.8ba417c pkgrel = 1 - url = https://bitbucket.org/Knitter/puzzlemoppet/overview + url = https://github.com/karjonas/Puzzle-Moppet arch = i686 arch = x86_64 license = WTFPL @@ -13,8 +13,7 @@ pkgbase = puzzlemoppet-git depends = ode depends = openal conflicts = puzzle-moppet-bin - source = puzzlemoppet-git::git+https://bitbucket.org/Knitter/puzzlemoppet.git + source = puzzlemoppet-git::git+https://github.com/karjonas/Puzzle-Moppet.git md5sums = SKIP pkgname = puzzlemoppet-git - @@ -1,16 +1,17 @@ -# Contributor: MCMic <come.bernigaud@laposte.net> +# Contributor: MCMic <come@chilliet.eu> +# Contributor: Jonas Karlsson pkgname=puzzlemoppet-git -pkgver=r59.5583142 +pkgver=r124.8ba417c pkgrel=1 pkgdesc="A challenging 3D puzzle game where you must guide the Moppet through the vast and eternal void of space by solving the various and beautiful puzzles thrown at you" arch=('i686' 'x86_64') -url="https://bitbucket.org/Knitter/puzzlemoppet/overview" +url="https://github.com/karjonas/Puzzle-Moppet" license=('WTFPL') depends=('irrlicht' 'ode' 'openal') makedepends=('make' 'cmake' 'git') conflicts=('puzzle-moppet-bin') -source=(${pkgname}::git+https://bitbucket.org/Knitter/puzzlemoppet.git) +source=(${pkgname}::git+https://github.com/karjonas/Puzzle-Moppet.git) md5sums=('SKIP') pkgver() { @@ -18,13 +19,17 @@ pkgver() { printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +prepare() { + cd "${srcdir}/${pkgname}" +} + build() { - cd "${srcdir}/${pkgname}/puzzlemoppet" - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_FOR_INSTALL=ON . + cd "${srcdir}/${pkgname}" + cmake -DBUILD_FOR_PKGBUILD=On -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_FOR_INSTALL=ON . make } package() { - cd "${srcdir}/${pkgname}/puzzlemoppet" + cd "${srcdir}/${pkgname}" make install DESTDIR=$pkgdir } |