Browse Source

[testing] -> [extra] 'gtk-sharp-2-2.12.45-3' move

master
Dudemanguy 1 year ago
parent
commit
793de9f35a
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 17
      gtk-sharp-2/x86_64/extra/PKGBUILD
  2. 0
      gtk-sharp-2/x86_64/extra/gtk-sharp2-2.12.12-gtkrange.patch
  3. 35
      gtk-sharp-2/x86_64/testing/PKGBUILD

17
gtk-sharp-2/x86_64/extra/PKGBUILD

@ -2,16 +2,23 @@
pkgname=gtk-sharp-2
pkgver=2.12.45
pkgrel=2
pkgrel=3
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')
depends=('mono' 'gtk2')
makedepends=('monodoc')
options=('!makeflags')
source=(https://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-${pkgver}.tar.gz)
sha256sums=('02680578e4535441064aac21d33315daa009d742cab8098ac8b2749d86fffb6a')
source=(https://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-${pkgver}.tar.gz
gtk-sharp2-2.12.12-gtkrange.patch)
sha256sums=('02680578e4535441064aac21d33315daa009d742cab8098ac8b2749d86fffb6a'
'26a1ade869ba1b54f37e544332e6e40cc6d3c93414a712d8605cb44fc212acf9')
prepare() {
cd gtk-sharp-${pkgver}
patch -Np1 -i ../gtk-sharp2-2.12.12-gtkrange.patch
}
build() {
cd gtk-sharp-${pkgver}

0
gtk-sharp-2/x86_64/testing/gtk-sharp2-2.12.12-gtkrange.patch → gtk-sharp-2/x86_64/extra/gtk-sharp2-2.12.12-gtkrange.patch

35
gtk-sharp-2/x86_64/testing/PKGBUILD

@ -1,35 +0,0 @@
# Maintainer: tobias <tobias@archlinux.org>
pkgname=gtk-sharp-2
pkgver=2.12.45
pkgrel=3
pkgdesc="gtk2 bindings for C#"
arch=(x86_64)
license=('LGPL')
url="https://www.mono-project.com/docs/gui/gtksharp/"
depends=('mono' 'gtk2')
makedepends=('monodoc')
options=('!makeflags')
source=(https://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-${pkgver}.tar.gz
gtk-sharp2-2.12.12-gtkrange.patch)
sha256sums=('02680578e4535441064aac21d33315daa009d742cab8098ac8b2749d86fffb6a'
'26a1ade869ba1b54f37e544332e6e40cc6d3c93414a712d8605cb44fc212acf9')
prepare() {
cd gtk-sharp-${pkgver}
patch -Np1 -i ../gtk-sharp2-2.12.12-gtkrange.patch
}
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