[arch-commits] Commit in mahjong/repos (4 files)

Pierre Schmitz pierre at nymeria.archlinux.org
Sun Jan 27 16:20:47 UTC 2013


    Date: Sunday, January 27, 2013 @ 17:20:47
  Author: pierre
Revision: 83162

archrelease: copy trunk to community-i686, community-x86_64

Added:
  mahjong/repos/community-i686/
  mahjong/repos/community-i686/PKGBUILD
    (from rev 83161, mahjong/trunk/PKGBUILD)
  mahjong/repos/community-x86_64/
  mahjong/repos/community-x86_64/PKGBUILD
    (from rev 83161, mahjong/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   26 ++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   26 ++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

Copied: mahjong/repos/community-i686/PKGBUILD (from rev 83161, mahjong/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-01-27 16:20:47 UTC (rev 83162)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Kevin Piche <kevin at archlinux.org>
+# Contributor: Jason Chu <jchu at xentac.net>
+
+pkgname=mahjong
+pkgver=1.12.1
+pkgrel=1
+pkgdesc="The classical game of Mah Jong (not the solitare version) with network support"
+arch=('i686' 'x86_64')
+url="http://www.stevens-bradfield.com/MahJong/"
+license=('GPL' 'custom')
+depends=('gtk2')
+source=(http://mahjong.julianbradfield.org/Source/mj-$pkgver-src.tar.gz)
+md5sums=('a74acae39d6a49bad9c34b84088f72f3')
+
+build() {
+  cd "$srcdir/mj-$pkgver-src"
+  sed -i 's/& Calling/Calling/' gui-dial.c
+  make LDLIBS="-lm"
+}
+
+package() {
+  cd "$srcdir/mj-$pkgver-src"
+  make DESTDIR="$pkgdir/usr/" MANDIR=share/man/man1 install install.man
+  install -D -m644 tiles-v1/README "$pkgdir/usr/share/licenses/$pkgname/tiles-license.txt"
+}

Copied: mahjong/repos/community-x86_64/PKGBUILD (from rev 83161, mahjong/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-01-27 16:20:47 UTC (rev 83162)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Kevin Piche <kevin at archlinux.org>
+# Contributor: Jason Chu <jchu at xentac.net>
+
+pkgname=mahjong
+pkgver=1.12.1
+pkgrel=1
+pkgdesc="The classical game of Mah Jong (not the solitare version) with network support"
+arch=('i686' 'x86_64')
+url="http://www.stevens-bradfield.com/MahJong/"
+license=('GPL' 'custom')
+depends=('gtk2')
+source=(http://mahjong.julianbradfield.org/Source/mj-$pkgver-src.tar.gz)
+md5sums=('a74acae39d6a49bad9c34b84088f72f3')
+
+build() {
+  cd "$srcdir/mj-$pkgver-src"
+  sed -i 's/& Calling/Calling/' gui-dial.c
+  make LDLIBS="-lm"
+}
+
+package() {
+  cd "$srcdir/mj-$pkgver-src"
+  make DESTDIR="$pkgdir/usr/" MANDIR=share/man/man1 install install.man
+  install -D -m644 tiles-v1/README "$pkgdir/usr/share/licenses/$pkgname/tiles-license.txt"
+}




More information about the arch-commits mailing list