summaryrefslogtreecommitdiff
path: root/extra/gnome-mines
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-23 01:16:16 -0700
committerroot <root@rshg054.dnsready.net>2013-04-23 01:16:16 -0700
commitd1d93fafb9ef98fdd0c9a5a486c179c03cbbfb33 (patch)
treeda594e49962aa1b32a81dd8066423c4fd5fdcec6 /extra/gnome-mines
parenta5f6ca5d4e1aa12dfec53c3061df6e0198126fb4 (diff)
Tue Apr 23 01:16:16 PDT 2013
Diffstat (limited to 'extra/gnome-mines')
-rw-r--r--extra/gnome-mines/PKGBUILD32
-rw-r--r--extra/gnome-mines/gnome-mines.install13
2 files changed, 45 insertions, 0 deletions
diff --git a/extra/gnome-mines/PKGBUILD b/extra/gnome-mines/PKGBUILD
new file mode 100644
index 000000000..6c30c5076
--- /dev/null
+++ b/extra/gnome-mines/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 183389 2013-04-21 22:10:07Z heftig $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+
+pkgname=gnome-mines
+pkgver=3.8.1
+pkgrel=1
+pkgdesc="Clear hidden mines from a minefield"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('desktop-file-utils' 'hicolor-icon-theme' 'gtk3' 'librsvg')
+makedepends=('intltool' 'itstool' 'gobject-introspection')
+conflicts=('gnome-games')
+replaces=('gnome-games')
+options=('!emptydirs' '!libtool')
+install=gnome-mines.install
+url="https://live.gnome.org/Mines"
+groups=('gnome-extra')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
+sha256sums=('81a47cf8eeb81f1d54ccd42b8eb04f5c8a1e6dcc8fd4f1bc714b147a934da633')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-schemas-compile
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
diff --git a/extra/gnome-mines/gnome-mines.install b/extra/gnome-mines/gnome-mines.install
new file mode 100644
index 000000000..0730c1a47
--- /dev/null
+++ b/extra/gnome-mines/gnome-mines.install
@@ -0,0 +1,13 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -f -q usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}