[arch-commits] Commit in tali/trunk (PKGBUILD tali.install)

Jan Steffens heftig at nymeria.archlinux.org
Sun Mar 30 00:00:55 UTC 2014


    Date: Sunday, March 30, 2014 @ 01:00:54
  Author: heftig
Revision: 209193

3.12.0

Modified:
  tali/trunk/PKGBUILD
  tali/trunk/tali.install

--------------+
 PKGBUILD     |   10 +++-------
 tali.install |   23 +----------------------
 2 files changed, 4 insertions(+), 29 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-30 00:00:54 UTC (rev 209192)
+++ PKGBUILD	2014-03-30 00:00:54 UTC (rev 209193)
@@ -3,7 +3,7 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=tali
-pkgver=3.10.2
+pkgver=3.12.0
 pkgrel=1
 pkgdesc="Beat the odds in a poker-style dice game"
 arch=('i686' 'x86_64')
@@ -17,13 +17,12 @@
 url="https://live.gnome.org/Tali"
 groups=('gnome-extra')
 source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('6a1c1f1dfe8591d3f74f2d46edae9172606581efbb6bbe04f43b2b908a24383b')
+sha256sums=('0a83d62313ee863a2c52bf5e92609020dbcc62057e354a39455f9e3e84545011')
 
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-      --disable-schemas-compile \
-      --with-scores-user=root --with-scores-group=games
+      --disable-schemas-compile
   make
 }
 
@@ -30,7 +29,4 @@
 package() {
   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
-
-  # Remove all scores, we generate them from postinstall
-  rm -rf "$pkgdir/var"
 }

Modified: tali.install
===================================================================
--- tali.install	2014-03-30 00:00:54 UTC (rev 209192)
+++ tali.install	2014-03-30 00:00:54 UTC (rev 209193)
@@ -1,22 +1,7 @@
-_scores=(
-	gtali.Colors.scores
-	gtali.Regular.scores
-)
-
 post_install() {
   glib-compile-schemas usr/share/glib-2.0/schemas
   update-desktop-database -q
   gtk-update-icon-cache -q -f usr/share/icons/hicolor
-
-  for score in "${_scores[@]}" ; do
-    if [ -e "var/games/$score" ]; then
-      continue
-    fi
-
-    touch "var/games/$score"
-    chown root:games "var/games/$score"
-    chmod 664 "var/games/$score"
-  done
 }
 
 post_upgrade() {
@@ -24,11 +9,5 @@
 }
 
 post_remove() {
-  glib-compile-schemas usr/share/glib-2.0/schemas
-  update-desktop-database -q
-  gtk-update-icon-cache -q -f usr/share/icons/hicolor
-
-  for score in "${_scores[@]}" ; do
-    rm -f "var/games/$score"
-  done
+  post_install
 }




More information about the arch-commits mailing list