summaryrefslogtreecommitdiff
path: root/pcr/puzzlemoppet-git
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2018-06-27 22:41:25 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2018-06-28 06:29:45 -0400
commitb2d1759599c0455b325eb61cd3e17410dca4d2bc (patch)
tree4b1417d8d8143898cb453bb3a8f990f32227d1d9 /pcr/puzzlemoppet-git
parente30053264d2b622f8a3a7e071d2d25397a597bb7 (diff)
downloadabslibre-b2d1759599c0455b325eb61cd3e17410dca4d2bc.tar.gz
abslibre-b2d1759599c0455b325eb61cd3e17410dca4d2bc.tar.bz2
abslibre-b2d1759599c0455b325eb61cd3e17410dca4d2bc.zip
add puzzlemoppet-git
Diffstat (limited to 'pcr/puzzlemoppet-git')
-rw-r--r--pcr/puzzlemoppet-git/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/puzzlemoppet-git/PKGBUILD b/pcr/puzzlemoppet-git/PKGBUILD
new file mode 100644
index 000000000..6d2898f7c
--- /dev/null
+++ b/pcr/puzzlemoppet-git/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: bill-auger <bill-auger@programmer.net>
+# Maintainer (AUR): MCMic <come.bernigaud@laposte.net>
+
+
+pkgname=puzzlemoppet-git
+pkgver=r64.d79b10e
+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"
+license=('WTFPL')
+depends=('irrlicht' 'ode' 'openal' 'libxrandr')
+makedepends=('make' 'cmake' 'git')
+conflicts=('puzzle-moppet-bin')
+source=(${pkgname}::git+https://bitbucket.org/Knitter/puzzlemoppet.git)
+md5sums=('SKIP')
+
+
+pkgver() {
+ cd "${srcdir}/${pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/${pkgname}/puzzlemoppet"
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_FOR_INSTALL=ON .
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}/puzzlemoppet"
+ make install DESTDIR=$pkgdir
+}