[arch-commits] Commit in kdegames-kajongg/repos/kde-unstable-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Aug 5 17:57:37 UTC 2016
Date: Friday, August 5, 2016 @ 17:57:37
Author: arojas
Revision: 273232
archrelease: copy kde-unstable to kde-unstable-any
Added:
kdegames-kajongg/repos/kde-unstable-any/PKGBUILD
(from rev 273231, kdegames-kajongg/kde-unstable/PKGBUILD)
Deleted:
kdegames-kajongg/repos/kde-unstable-any/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-08-05 17:57:23 UTC (rev 273231)
+++ PKGBUILD 2016-08-05 17:57:37 UTC (rev 273232)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=kdegames-kajongg
-pkgver=16.07.80
-pkgrel=1
-pkgdesc="The ancient Chinese board game for 4 players"
-url="http://kde.org/applications/games/kajongg/"
-arch=('any')
-license=('GPL' 'LGPL' 'FDL')
-groups=('kde-applications' 'kdegames')
-depends=('kdebase-runtime' 'python2-twisted' 'kdebindings-python2' 'libkmahjongg')
-makedepends=('cmake' 'automoc4')
-optdepends=('vorbis-tools: for playing sounds')
-conflicts=('libkmahjongg4')
-source=("http://download.kde.org/unstable/applications/${pkgver}/src/kajongg-${pkgver}.tar.xz")
-sha1sums=('0da36c39e1405245c7088cb1f1d8f216b43db6e7')
-
-prepare() {
- mkdir -p build
-
- cd kajongg-${pkgver}
- sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
- src/{deferredutil,kajongg,kajonggserver,server}.py
-}
-
-build() {
- cd build
- cmake ../kajongg-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DKDE4_BUILD_TESTS=OFF \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DPYTHON_EXECUTABLE=/usr/bin/python2 \
- -DINSTALL_KAJONGG=TRUE
- make
-}
-
-package() {
- cd build
- make DESTDIR="${pkgdir}" install
-
-# Use tilesets from KF5 libkhmahjongg
- ln -s /usr/share/kmahjongglib "$pkgdir"/usr/share/apps/kmahjongglib
-}
Copied: kdegames-kajongg/repos/kde-unstable-any/PKGBUILD (from rev 273231, kdegames-kajongg/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-08-05 17:57:37 UTC (rev 273232)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kajongg
+pkgver=16.07.90
+pkgrel=1
+pkgdesc="The ancient Chinese board game for 4 players"
+url="http://kde.org/applications/games/kajongg/"
+arch=('any')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegames')
+depends=('kdebase-runtime' 'python2-twisted' 'kdebindings-python2' 'libkmahjongg')
+makedepends=('cmake' 'automoc4')
+optdepends=('vorbis-tools: for playing sounds')
+conflicts=('libkmahjongg4')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kajongg-${pkgver}.tar.xz")
+sha1sums=('bbbd7a46d442e566fc57581c0460c0dfce4e0cbb')
+
+prepare() {
+ mkdir -p build
+
+ cd kajongg-${pkgver}
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+ src/{deferredutil,kajongg,kajonggserver,server}.py
+}
+
+build() {
+ cd build
+ cmake ../kajongg-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DINSTALL_KAJONGG=TRUE
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+# Use tilesets from KF5 libkhmahjongg
+ ln -s /usr/share/kmahjongglib "$pkgdir"/usr/share/apps/kmahjongglib
+}
More information about the arch-commits
mailing list