sbcl rebuild
[arch-packages.git] / gtk-sharp-2 / trunk / PKGBUILD
blob50e25bf4bdbc9942b13caf5980c20cb63d3d4407
1 # Maintainer: tobias <tobias@archlinux.org>
3 pkgname=gtk-sharp-2
4 pkgver=2.12.45
5 pkgrel=4
6 pkgdesc="gtk2 bindings for C#"
7 arch=(x86_64)
8 license=('LGPL')
9 url="https://www.mono-project.com/docs/gui/gtksharp/"
10 depends=('mono' 'gtk2')
11 makedepends=('monodoc')
12 optdepends=('perl: for gapi2xml.pl and gapi_pp.pl')
13 options=('!makeflags')
14 source=(https://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-${pkgver}.tar.gz
15         gtk-sharp2-2.12.12-gtkrange.patch)
16 sha256sums=('02680578e4535441064aac21d33315daa009d742cab8098ac8b2749d86fffb6a'
17             '26a1ade869ba1b54f37e544332e6e40cc6d3c93414a712d8605cb44fc212acf9')
19 prepare() {
20   cd gtk-sharp-${pkgver}
21   patch -Np1 -i ../gtk-sharp2-2.12.12-gtkrange.patch
24 build() {
25   cd gtk-sharp-${pkgver}
26   ./configure --prefix=/usr --sysconfdir=/etc --disable-static
28   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
30   make
33 package() {
34   cd gtk-sharp-${pkgver}
35   make DESTDIR="${pkgdir}" install