summaryrefslogtreecommitdiff
path: root/extra/gtk-sharp-2/PKGBUILD
blob: f82eabb75471e35599489b3456739661604e07b4 (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
# $Id: PKGBUILD 198081 2013-10-30 12:41:20Z allan $
# Maintainer: tobias <tobias@archlinux.org>

pkgname=gtk-sharp-2
pkgver=2.12.22
pkgrel=1
pkgdesc="gtk2 bindings for C#"
arch=(i686 x86_64)
license=('LGPL')
url="http://gtk-sharp.sourceforge.net"
depends=('mono' 'libglade' 'gtk2')
makedepends=('pkgconfig' 'monodoc')
conflicts=('gtk#')
options=('!makeflags')
source=(https://github.com/mono/gtk-sharp/archive/${pkgver}.tar.gz)
md5sums=('0cdaef41857e29c23942a148c83122ac')

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

  cd gtk-sharp-${pkgver}
  ./bootstrap-2.12 --prefix=/usr --sysconfdir=/etc --disable-static
  make
}

package() {
  cd gtk-sharp-${pkgver}
  make DESTDIR="${pkgdir}" install
}