summaryrefslogtreecommitdiff
path: root/community/hitori
diff options
context:
space:
mode:
Diffstat (limited to 'community/hitori')
-rw-r--r--community/hitori/PKGBUILD28
-rw-r--r--community/hitori/hitori.install11
2 files changed, 39 insertions, 0 deletions
diff --git a/community/hitori/PKGBUILD b/community/hitori/PKGBUILD
new file mode 100644
index 000000000..9a8053373
--- /dev/null
+++ b/community/hitori/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 77547 2012-10-12 03:16:10Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=hitori
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="GTK+ application to generate and let you play games of Hitori"
+arch=('i686' 'x86_64')
+url="https://live.gnome.org/Hitori"
+license=('GPL')
+depends=('gtk3' 'hicolor-icon-theme' 'xdg-utils')
+makedepends=('intltool' 'itstool')
+install=$pkgname.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('5d9e1c0f5d33c960167a126242bf57ff4865a6aaf6602da4a25aae56dc491030')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/community/hitori/hitori.install b/community/hitori/hitori.install
new file mode 100644
index 000000000..2c455e952
--- /dev/null
+++ b/community/hitori/hitori.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}