summaryrefslogtreecommitdiff
path: root/community/gmtk/PKGBUILD
blob: 8141da27f60a7ca5dff3d0716aa9f8120df66944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 69612 2012-04-20 13:39:41Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>

pkgname=gmtk
pkgver=1.0.6
pkgrel=1
pkgdesc='Common functions for gnome-mplayer and gecko-mediaplay.'
arch=('i686' 'x86_64')
url='http://gmtk.googlecode.com/'
license=('GPL')
depends=('glib2' 'gtk3' 'dconf')
makedepends=('intltool' 'pkg-config')
options=(!libtool)
source=("http://gmtk.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
md5sums=('6bf1c63788541272717f63ec370f6b6c')

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
}