[arch-commits] Commit in ccgo/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 22:20:05 UTC 2018


    Date: Friday, November 9, 2018 @ 22:20:05
  Author: felixonmars
Revision: 404923

archrelease: copy trunk to community-staging-x86_64

Added:
  ccgo/repos/community-staging-x86_64/
  ccgo/repos/community-staging-x86_64/PKGBUILD
    (from rev 404922, ccgo/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: ccgo/repos/community-staging-x86_64/PKGBUILD (from rev 404922, ccgo/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 22:20:05 UTC (rev 404923)
@@ -0,0 +1,35 @@
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Guillem Rieu <guillemr at gmx.net>
+
+pkgname=ccgo
+pkgver=0.3.6.5
+pkgrel=4
+pkgdesc='Play the game of Go with gnugo or against other players on IGS'
+arch=('x86_64')
+url='http://ccdw.org/~cjj/prog/ccgo/'
+license=('GPL')
+depends=('gtkmm' 'gconfmm')
+source=("https://ccdw.org/~cjj/prog/$pkgname/src/$pkgname-$pkgver.tar.gz")
+sha256sums=('d12be7fb9170d650ae78197983fac05af21ddbf47f7b1a2a14de9aa832ed602c')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  find -name '*.hh' -exec sed -i '/sigc++\/object.h/d' {} +
+  find -name '*.cc' -exec sed -i 's/(bind(/(sigc::bind(/' {} +
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  CXXFLAGS+=' -std=c++11 -fpermissive'
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+}
+
+# getver: http://ccdw.org/~cjj/prog/ccgo/ChangeLog
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list