summaryrefslogtreecommitdiff
path: root/community/gnome-hearts
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/gnome-hearts
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/gnome-hearts')
-rw-r--r--community/gnome-hearts/PKGBUILD32
-rw-r--r--community/gnome-hearts/gnome-hearts.install13
2 files changed, 45 insertions, 0 deletions
diff --git a/community/gnome-hearts/PKGBUILD b/community/gnome-hearts/PKGBUILD
new file mode 100644
index 000000000..07984fbb4
--- /dev/null
+++ b/community/gnome-hearts/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 92595 2013-06-09 15:59:15Z foutrelis $
+# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
+# Contributor: Neil Darlow <neil@darlow.co.uk>
+
+pkgname=gnome-hearts
+pkgver=0.3.1
+pkgrel=1
+pkgdesc="A card game for GNOME"
+arch=('i686' 'x86_64')
+url="http://www.jejik.com/gnome-hearts/"
+license=('GPL')
+depends=('python2' 'libgnomeui' 'libglade' 'desktop-file-utils')
+makedepends=('intltool' 'rarian')
+install=gnome-hearts.install
+source=(http://www.jejik.com/files/$pkgname/$pkgname-$pkgver.tar.gz)
+sha256sums=('4b9477e8bb2d48a86021ae512a713fd405a96d52cf711ff549cfe0d119bf56b3')
+
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/gnome-hearts/gnome-hearts.install b/community/gnome-hearts/gnome-hearts.install
new file mode 100644
index 000000000..686b22022
--- /dev/null
+++ b/community/gnome-hearts/gnome-hearts.install
@@ -0,0 +1,13 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
+# vim:set ts=2 sw=2 et: