[arch-commits] Commit in (5 files)
Jan de Groot
jgc at archlinux.org
Mon Sep 22 10:43:28 UTC 2014
Date: Monday, September 22, 2014 @ 12:43:28
Author: jgc
Revision: 222626
Move in from community
Added:
hitori/
hitori/repos/
hitori/trunk/
hitori/trunk/PKGBUILD
hitori/trunk/hitori.install
----------------+
PKGBUILD | 27 +++++++++++++++++++++++++++
hitori.install | 12 ++++++++++++
2 files changed, 39 insertions(+)
Added: hitori/trunk/PKGBUILD
===================================================================
--- hitori/trunk/PKGBUILD (rev 0)
+++ hitori/trunk/PKGBUILD 2014-09-22 10:43:28 UTC (rev 222626)
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 116588 2014-07-30 15:22:52Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=hitori
+pkgver=3.14.0.1
+pkgrel=1
+pkgdesc="GTK+ application to generate and let you play games of Hitori"
+arch=('i686' 'x86_64')
+url="https://wiki.gnome.org/Apps/Hitori"
+license=('GPL')
+depends=('gtk3')
+groups=('gnome-extra')
+makedepends=('intltool' 'itstool')
+install=hitori.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('a3fa8ee0a7dbf8e2b636b61df7f68a5d974a44a0f738b65acfe386b7dec61c61')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
Added: hitori/trunk/hitori.install
===================================================================
--- hitori/trunk/hitori.install (rev 0)
+++ hitori/trunk/hitori.install 2014-09-22 10:43:28 UTC (rev 222626)
@@ -0,0 +1,12 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
More information about the arch-commits
mailing list