mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
32 lines
1 KiB
Bash
32 lines
1 KiB
Bash
|
# $Id: PKGBUILD 22333 2008-12-26 13:37:07Z jgc $
|
||
|
# Maintainer: tobias <tobias@archlinux.org>
|
||
|
# Contributor: Brice Carpentier <brice@daknet.org>
|
||
|
|
||
|
pkgname=gtksourceview-sharp-2.0
|
||
|
pkgver=0.12
|
||
|
pkgrel=1
|
||
|
pkgdesc="a C# binding to gtksourceview"
|
||
|
url="http://www.mono-project.com/"
|
||
|
depends=('gtksourceview' 'gtk-sharp-2>=2.12.7' 'gnome-sharp>=2.24.0')
|
||
|
makedepends=('monodoc')
|
||
|
conflicts=('gtksourceview-sharp')
|
||
|
provides=('gtksourceview-sharp')
|
||
|
source=(http://ftp.novell.com/pub/mono/sources/gtksourceview-sharp2/${pkgname}-${pkgver}.tar.bz2
|
||
|
gtksourceview-sharp2-gnome-print.patch)
|
||
|
license=('LGPL2')
|
||
|
arch=('i686' 'x86_64')
|
||
|
|
||
|
build() {
|
||
|
export MONO_SHARED_DIR="${srcdir}/weird"
|
||
|
mkdir -p "${MONO_SHARED_DIR}"
|
||
|
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
patch -Np0 -i "${srcdir}/gtksourceview-sharp2-gnome-print.patch" || return 1
|
||
|
autoreconf || return 1
|
||
|
./configure --prefix=/usr || return 1
|
||
|
make || return 1
|
||
|
make GACUTIL="/usr/bin/gacutil /root ${pkgdir}/usr/lib" \
|
||
|
DESTDIR="${pkgdir}" install || return 1
|
||
|
rm -rf "${pkgdir}/usr/share/gtksourceview-1.0"
|
||
|
}
|