summaryrefslogtreecommitdiff
path: root/community/winegame
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-04 00:03:49 -0800
committerroot <root@rshg054.dnsready.net>2013-03-04 00:03:49 -0800
commit3a8d026e8e859ff4c9aa813d5f1eb2afa5663e78 (patch)
tree48288f077555b04e1dd7cec1e637aeb94a322f0c /community/winegame
parent945c9cd1e94fab87653f84598812dec707843d26 (diff)
Mon Mar 4 00:03:48 PST 2013
Diffstat (limited to 'community/winegame')
-rw-r--r--community/winegame/PKGBUILD40
-rw-r--r--community/winegame/winegame.install9
2 files changed, 49 insertions, 0 deletions
diff --git a/community/winegame/PKGBUILD b/community/winegame/PKGBUILD
new file mode 100644
index 000000000..6df4bc45a
--- /dev/null
+++ b/community/winegame/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 85556 2013-03-03 05:22:22Z cinelli $
+# Maintainer: Federico Cinelli <cinelli@aur.archlinux.com>
+# Contributor: Laurent Carlier <lordheavym@gmail.com>
+
+pkgname=winegame
+pkgver=0.2.0
+pkgrel=2
+pkgdesc="An interface to install windows programs in Wine"
+arch=('i686' 'x86_64')
+install=winegame.install
+url="http://code.google.com/p/winegame/"
+license=('GPL3')
+depends=('winestuff')
+optdepends=('libnotify: Desktop notifaction support')
+makedepends=('cmake')
+source=("http://winegame.googlecode.com/files/$pkgname-$pkgver.tar.gz")
+md5sums=('631dd218707c6efb2901ef1206092538')
+
+if [[ $CARCH == "x86_64" ]]; then
+ depends+=('lib32-mesa-libgl')
+fi
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ mkdir -p build
+ cd build
+
+ cmake -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr ..
+
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/build"
+
+ make DESTDIR="$pkgdir/" install
+}
+
diff --git a/community/winegame/winegame.install b/community/winegame/winegame.install
new file mode 100644
index 000000000..e85c7ac73
--- /dev/null
+++ b/community/winegame/winegame.install
@@ -0,0 +1,9 @@
+post_install () {
+ update-desktop-database -q
+}
+post_upgrade () {
+ post_install
+}
+post_removal () {
+ post_install
+}