Browse Source

[trunk] -> [extra] 'gtk-sharp-2-2.12.45-2' add

master
artoo 2 years ago
parent
commit
55441827f5
Signed by: artoo GPG Key ID: 3292CD0BB0DB310B
  1. 28
      gtk-sharp-2/repos/extra-x86_64/PKGBUILD

28
gtk-sharp-2/repos/extra-x86_64/PKGBUILD

@ -0,0 +1,28 @@
# Maintainer: tobias <tobias@archlinux.org>
pkgname=gtk-sharp-2
pkgver=2.12.45
pkgrel=2
pkgdesc="gtk2 bindings for C#"
arch=(x86_64)
license=('LGPL')
url="https://www.mono-project.com/docs/gui/gtksharp/"
depends=('mono' 'libglade' 'gtk2')
makedepends=('pkgconfig' 'monodoc')
options=('!makeflags')
source=(https://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-${pkgver}.tar.gz)
sha256sums=('02680578e4535441064aac21d33315daa009d742cab8098ac8b2749d86fffb6a')
build() {
cd gtk-sharp-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd gtk-sharp-${pkgver}
make DESTDIR="${pkgdir}" install
}
Loading…
Cancel
Save