summaryrefslogtreecommitdiff
path: root/extra/gnome-pilot/PKGBUILD
blob: 7cc25291f16acca82bf5a5baddc45f2e713cfd99 (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
29
30
31
32
33
34
35
# $Id: PKGBUILD 157208 2012-04-26 02:01:26Z eric $
# Jan de Groot <jgc@archlinux.org>

pkgname=gnome-pilot
pkgver=2.91.93
pkgrel=2
pkgdesc="Pilot Support for Gnome"
arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('pilot-link' 'evolution-data-server')
makedepends=('intltool' 'gob2' 'gnome-doc-utils' 'gnome-panel')
optdepends=('gnome-panel')
options=('!libtool' '!emptydirs')
url="http://www.gnome.org"
install=gnome-pilot.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
sha256sums=('56fbb1c54621dcda9cde4c7ac0754d5d9d68ae2ae1eb63acffb00817e4a8dd21')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc \
      --libexecdir=/usr/lib/gnome-pilot \
      --localstatedir=/var --disable-static \
      --without-hal
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install

  install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" "${pkgdir}"/etc/gconf/schemas/*.schemas
  rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
}