summaryrefslogtreecommitdiff
path: root/extra/four-in-a-row
diff options
context:
space:
mode:
Diffstat (limited to 'extra/four-in-a-row')
-rw-r--r--extra/four-in-a-row/PKGBUILD32
-rw-r--r--extra/four-in-a-row/four-in-a-row.install13
2 files changed, 45 insertions, 0 deletions
diff --git a/extra/four-in-a-row/PKGBUILD b/extra/four-in-a-row/PKGBUILD
new file mode 100644
index 000000000..5300d1e79
--- /dev/null
+++ b/extra/four-in-a-row/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 183358 2013-04-21 22:09:11Z heftig $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+
+pkgname=four-in-a-row
+pkgver=3.8.1
+pkgrel=1
+pkgdesc="Make lines of the same color to win"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('desktop-file-utils' 'hicolor-icon-theme' 'gtk3' 'libcanberra' 'librsvg')
+makedepends=('intltool' 'itstool' 'gobject-introspection')
+conflicts=('gnome-games')
+replaces=('gnome-games')
+options=('!emptydirs' '!libtool')
+install=four-in-a-row.install
+url="https://live.gnome.org/Four-in-a-row"
+groups=('gnome-extra')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
+sha256sums=('eb44c8508a7d4281df1e52c75a4dc8b31a0de108b94c0f37c4e8d99ea380019d')
+
+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/four-in-a-row/four-in-a-row.install b/extra/four-in-a-row/four-in-a-row.install
new file mode 100644
index 000000000..0730c1a47
--- /dev/null
+++ b/extra/four-in-a-row/four-in-a-row.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
+}