summaryrefslogtreecommitdiff
path: root/extra/gnome-keyring-sharp/PKGBUILD
blob: e8d024129fa2705af6e2dee982434e8b68788bed (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 104610 2011-01-04 16:15:34Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=gnome-keyring-sharp
pkgver=1.0.2
pkgrel=2
pkgdesc="A fully managed implementation of libgnome-keyring"
arch=('i686' 'x86_64')
url="http://www.mono-project.com/Libraries"
license=('custom')
depends=('ndesk-dbus>=0.4' 'libgnome-keyring')
makedepends=('gtk-sharp-2')
replaces=('gnome-keyring-sharp-svn')
source=(http://www.go-mono.com/archive/${pkgname}/${pkgname}-${pkgver}.tar.gz)
options=('!makeflags')
md5sums=('f9a48319f3fe6123017b000d714d68b1')

build() {
  export MONO_SHARED_DIR="${srcdir}/.wapi"
  mkdir -p "${MONO_SHARED_DIR}"

  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --disable-static
  make
  make DESTDIR="${pkgdir}" install
  rm -rf "${MONO_SHARED_DIR}"
  ln -sf gnome-keyring-sharp-1.0.pc "${pkgdir}/usr/lib/pkgconfig/gnome-keyring-sharp.pc"
  install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/license
}