1 # Contributor: DonVla <donvla@users.sourceforge.net>
6 pkgdesc="Tenes Empanadas Graciela - A risk clone for Gnome 2"
9 url="http://teg.sourceforge.net/"
10 depends=('libgnomeui>=2.18.1-2')
11 makedepends=('intltool' 'pkgconfig')
12 install=${pkgname}.install
13 source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz" "${pkgname}.desktop")
14 md5sums=('1ec1ac9bd023b329b1e4a32bb48c9132'
15 'bcea50cbf702aab96d4f6d5026265ec5')
16 sha256sums=('9a0135870c01ff70b63a95f7224556fdf70f21d977c369085ef3c2cf7697ddf9'
17 'd55264406ed289d9ef7484bd2baae07563869f761b864fd75b295415c3629fd8')
20 cd "${srcdir}/${pkgname}-${pkgver}"
21 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-readline
26 cd "${srcdir}/${pkgname}-${pkgver}"
28 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${pkgdir} install
30 install -D -m 0644 ${srcdir}/teg.desktop ${pkgdir}/usr/share/applications/teg.desktop
31 install -d ${pkgdir}/usr/share/gconf/schemas
33 gconf-merge-schema ${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas ${pkgdir}/etc/gconf/schemas/*.schemas
36 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
37 rm -f ${pkgdir}/usr/share/gnome/apps/Games/teg.desktop
38 rm -rf ${pkgdir}/opt/gnome/share/gnome/apps