summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2016-12-08 20:43:18 -0500
committerGaming4JC <g4jc@openmailbox.org>2016-12-08 20:43:18 -0500
commitf057b6e1347ad0ea555e4751c909a07e5ed96d2b (patch)
tree80626ae3fc6d472366b14eb79f8b7e2e40b614d0 /pcr
parentfca573fc9902626e9e06871e7de281fdea2caa3d (diff)
downloadabslibre-f057b6e1347ad0ea555e4751c909a07e5ed96d2b.tar.gz
abslibre-f057b6e1347ad0ea555e4751c909a07e5ed96d2b.tar.bz2
abslibre-f057b6e1347ad0ea555e4751c909a07e5ed96d2b.zip
add dreamchess-git to pcr
Diffstat (limited to 'pcr')
-rw-r--r--pcr/dreamchess-git/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/pcr/dreamchess-git/PKGBUILD b/pcr/dreamchess-git/PKGBUILD
new file mode 100644
index 000000000..64179936d
--- /dev/null
+++ b/pcr/dreamchess-git/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Samuel Walladge <samuel at swalladge dot id dot au>
+
+pkgname=dreamchess-git
+_pkgname=dreamchess
+pkgver=312.c7fad45
+pkgrel=3
+pkgdesc="DreamChess - OpenGL Chess Game"
+arch=('i686' 'x86_64')
+url="https://github.com/dreamchess/dreamchess"
+license=('GPL')
+
+# 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)
+
+source=('git://github.com/dreamchess/dreamchess.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/dreamchess"
+ echo "$(git rev-list --count HEAD).$(git log --pretty=format:'%h' -n 1)"
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}"
+ # must autoreconf or missing install-sh
+ autoreconf -fvi
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}"
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=2 sw=2 et:
+