summaryrefslogtreecommitdiff
path: root/community/gmtk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gmtk/PKGBUILD')
-rw-r--r--community/gmtk/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/gmtk/PKGBUILD b/community/gmtk/PKGBUILD
new file mode 100644
index 000000000..f7c68c23b
--- /dev/null
+++ b/community/gmtk/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+
+pkgname=gmtk
+pkgver=1.0.5
+pkgrel=1
+pkgdesc='Common functions for gnome-mplayer and gecko-mediaplay.'
+arch=('i686' 'x86_64')
+url='http://gmtk.googlecode.com/'
+license=('GPL')
+depends=('glib' 'gtk3' 'dconf')
+makedepends=('intltool' 'pkg-config')
+options=(!libtool)
+source=("http://gmtk.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
+md5sums=('e06e9ca8d61d74910343bb3ef4348f7f')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags gtk+-3.0)"
+ ./configure --prefix=/usr --sysconfdir=/etc --enable-gtk3
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}