summaryrefslogtreecommitdiff
path: root/extra/libbeagle/PKGBUILD
blob: 699fe639fe0b56a6c3d1a6661ddfd7e463bf0055 (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 89703 2010-09-03 11:38:40Z remy $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>

pkgname=libbeagle
pkgver=0.3.9
pkgrel=2
pkgdesc="Beagle desktop search client library"
arch=(i686 x86_64)
url="http://www.gnome.org/projects/beagle/"
license=('custom')
depends=('glib2>=2.20.0' 'libxml2>=2.7.3')
makedepends=('pkgconfig' 'pygtk')
options=('!libtool')
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.3/${pkgname}-${pkgver}.tar.bz2)
md5sums=('af1e25bdfb704ee87047bc49a73fbb10')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc \
              --localstatedir=/var --disable-static || return 1
  make
}
package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install || return 1
  install -m755 -d "${pkgdir}/usr/share/licenses/libbeagle"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/libbeagle/" || return 1
}