summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCôme Bernigaud2015-06-08 20:48:36 +0200
committerCôme Bernigaud2015-06-08 20:48:36 +0200
commit94b2600389bb461901c4cd94b3e4767682388560 (patch)
tree90f9230df84a44da9d480097c2c074b5d5c8568b
downloadaur-94b2600389bb461901c4cd94b3e4767682388560.tar.gz
Initial import
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD30
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dba5c258213
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+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
+ pkgrel = 1
+ url = https://bitbucket.org/Knitter/puzzlemoppet/overview
+ arch = i686
+ arch = x86_64
+ license = WTFPL
+ makedepends = make
+ makedepends = cmake
+ makedepends = git
+ depends = irrlicht
+ depends = ode
+ depends = openal
+ conflicts = puzzle-moppet-bin
+ source = puzzlemoppet-git::git+https://bitbucket.org/Knitter/puzzlemoppet.git
+ md5sums = SKIP
+
+pkgname = puzzlemoppet-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2337492b73a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor: MCMic <come.bernigaud@laposte.net>
+
+pkgname=puzzlemoppet-git
+pkgver=r59.5583142
+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')
+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
+}