updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / teg / PKGBUILD
blobe348d7e5e3b1eb21d5d7d6497414384c7a0814dd
1 # Contributor: DonVla <donvla@users.sourceforge.net>
3 pkgname=teg
4 pkgver=0.11.2
5 pkgrel=2
6 pkgdesc="Tenes Empanadas Graciela - A risk clone for Gnome 2"
7 arch=(i686 x86_64)
8 license=('GPL')
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')
19 build() {
20   cd "${srcdir}/${pkgname}-${pkgver}"
21   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-readline
22   make || return 1
25 package() {
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
35   # remove unused stuff
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