[arch-commits] Commit in gnome-2048/trunk (PKGBUILD gnome-2048.install)
Jan Steffens
heftig at archlinux.org
Thu Sep 24 21:16:03 UTC 2015
Date: Thursday, September 24, 2015 @ 23:16:03
Author: heftig
Revision: 247329
3.18.0
Added:
gnome-2048/trunk/PKGBUILD
gnome-2048/trunk/gnome-2048.install
--------------------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
gnome-2048.install | 12 ++++++++++++
2 files changed, 40 insertions(+)
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-09-24 21:16:03 UTC (rev 247329)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gnome-2048
+pkgver=3.18.0
+pkgrel=1
+pkgdesc="Obtain the 2048 tile"
+url="https://wiki.gnome.org/Apps/2048"
+arch=(x86_64 i686)
+license=(GPL3)
+depends=(clutter-gtk libgee libgames-support)
+makedepends=(intltool vala itstool)
+groups=(gnome-extra)
+install=gnome-2048.install
+options=(!emptydirs)
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('87cf703f5dad02bb22ba464faa5fdf8a0784e64652de23b7f1c8685fc3d69938')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Property changes on: gnome-2048/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: gnome-2048.install
===================================================================
--- gnome-2048.install (rev 0)
+++ gnome-2048.install 2015-09-24 21:16:03 UTC (rev 247329)
@@ -0,0 +1,12 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -f -q usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list