summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/dreamchess-git/PKGBUILD23
1 files changed, 8 insertions, 15 deletions
diff --git a/pcr/dreamchess-git/PKGBUILD b/pcr/dreamchess-git/PKGBUILD
index 7628aedf1..4b2124cd6 100644
--- a/pcr/dreamchess-git/PKGBUILD
+++ b/pcr/dreamchess-git/PKGBUILD
@@ -1,18 +1,16 @@
-# Maintainer: Samuel Walladge <samuel at swalladge dot id dot au>
+# Maintainer (AUR): Samuel Walladge <samuel at swalladge dot id dot au>
pkgname=dreamchess-git
_pkgname=dreamchess
-pkgver=312.c7fad45
-pkgrel=3
+pkgver=398.cb63a0a
+pkgrel=1
pkgdesc="DreamChess - OpenGL Chess Game"
arch=('i686' 'x86_64')
url="https://github.com/dreamchess/dreamchess"
license=('GPL3')
-# tried to include all necessary deps and none that aren't
-# please notify if list not fully correct
-depends=(mxml sdl_mixer sdl_image glew hicolor-icon-theme)
-makedepends=(git)
+depends=(mxml sdl2_mixer sdl2_image glew hicolor-icon-theme)
+makedepends=(git cmake)
source=('git://github.com/dreamchess/dreamchess.git')
md5sums=('SKIP')
@@ -23,17 +21,12 @@ pkgver() {
}
build() {
- cd "${srcdir}/${_pkgname}"
- # must autoreconf or missing install-sh
- autoreconf -fvi
- ./configure --prefix=/usr
+ cd "${srcdir}/${_pkgname}"/cmake
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
- cd "${srcdir}/${_pkgname}"
+ cd "${srcdir}/${_pkgname}"/cmake
make DESTDIR="${pkgdir}" install
}
-
-# vim:set ts=2 sw=2 et:
-