diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/hitori | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/hitori')
-rw-r--r-- | community/hitori/PKGBUILD | 28 | ||||
-rw-r--r-- | community/hitori/hitori.install | 11 |
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 +} |