summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/ryzom-hg/PKGBUILD25
1 files changed, 17 insertions, 8 deletions
diff --git a/pcr/ryzom-hg/PKGBUILD b/pcr/ryzom-hg/PKGBUILD
index 1c48c8176..76b049aaa 100644
--- a/pcr/ryzom-hg/PKGBUILD
+++ b/pcr/ryzom-hg/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
# Maintainer (aur): Bjoern Bidar <theodorstormgrade@gmail.com>
-pkgname=('ryzom-nel')
+pkgname=('ryzom-nel' 'ryzom-client')
pkgbase=ryzom
pkgver=20130706
pkgrel=2
@@ -53,14 +53,23 @@ package_ryzom-nel() {
make DESTDIR="$pkgdir/" install
}
-# package_pkg2() {
-# # options and directives overrides
-# pkgdesc=""
+package_ryzom-client() {
+ # options and directives overrides
+ pkgdesc="An awesome free software 3D MMORPG game. Game client."
+
+ provides=('ryzom-hg-client')
+ conflicts=('ryzom-hg-client')
+ replaces=('ryzom-hg-client')
+ depends=('ryzom-hg-nel')
+
+ mkdir -p "$srcdir/build-client"
+ cd "$srcdir/build-client"
+
+ cmake -b "$srcdir/code" ${_CMAKE_COMMON_ARGS[*]} ${_CMAKE_CLIENT_ARGS[*]} -DCMAKE_INSTALL_PREFIX=/usr -DRYZOM_ETC_PREFIX=/etc/ryzom -DRYZOM_SHARE_PREFIX=/usr/share/ryzom -DRYZOM_BIN_PREFIX=/usr/bin -DRYZOM_GAMES_PREFIX=/usr/bin
+ make
+ make DESTDIR="$pkgdir/" install
+}
-# cd "$srcdir/$pkgbase-$pkgver"
-# make DESTDIR="$pkgdir/" install-pkg2
-# }
-#
sha256sums=('03ddd23d0b2e92c419dcdebe264890b5b1c906992ae93225be43869739f9f475'
'd3d8286f5b60a63cbda83795cbe1a1d6e1442f33116502cc6563f8db86e458b6'
'722c60ceb198214620b11a0866f458578e1128d39e63274ea8b43c1ed96ff196')