summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorQue Quotion2019-11-20 00:20:33 +0900
committerQue Quotion2019-11-20 00:22:43 +0900
commit15410f7b9e07268d790f7cf0c6eb845c8d14cd0a (patch)
tree6f680134481bddbd6ccb0c09a2628c069e971dbb /PKGBUILD
parent799ce759a712b0933a9464a77cec961527813ae4 (diff)
downloadaur-gnome-sharp.tar.gz
Publish gconf-sharp package as well.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 26 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ce838d1e152..e8c257575bb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,20 +2,31 @@
# Contributor: tobias <tobias@archlinux.org>
pkgbase=gnome-sharp
-pkgname=('gnome-sharp' 'art-sharp' 'gconf-sharp-peditors' 'libgnome-sharp' 'gnome-vfs-sharp')
+pkgname=({gnome{,-vfs},gconf,art,libgnome}-sharp 'gconf-sharp-peditors')
pkgvermajor=2
pkgverminor=24
pkgverpatch=4
pkgver=${pkgvermajor}.${pkgverminor}.${pkgverpatch}
-pkgrel=5
-arch=(i686 x86_64)
+pkgrel=6
+arch=(any)
license=(LGPL)
url="http://gtk-sharp.sourceforge.net"
makedepends=('gtk-sharp-2' 'libgnomeui' 'monodoc')
source=(https://github.com/mono/${pkgbase}/archive/${pkgver}.tar.gz
- 06_fix_mono_path.patch)
+ 06_fix_mono_path.patch
+ 02_fix_pkg-config_paths.patch
+ 04_initialize_dbus_glib_threading.patch)
md5sums=('c3da83bfaa81eb8bac39d7b2232e2604'
- '923434786ec049eed71a68a0825a3d60')
+ '923434786ec049eed71a68a0825a3d60'
+ 'a8c1bf57a384f5fc20a5890f9f1cef5a'
+ '90cd7ea88aaa3011522376153433d115')
+
+prepare() {
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ patch -Np1 < ../06_fix_mono_path.patch
+ patch -Np1 < ../04_initialize_dbus_glib_threading.patch
+ patch -Np1 < ../02_fix_pkg-config_paths.patch
+}
build() {
# get rid of that .wapi errors; thanks to brice
@@ -23,7 +34,7 @@ build() {
mkdir -p "${MONO_SHARED_DIR}"
cd "${srcdir}/${pkgbase}-${pkgver}"
- patch -Np1 -i ../06_fix_mono_path.patch
+
./bootstrap-${pkgvermajor}.${pkgverminor} --prefix=/usr --sysconfdir=/etc
make
}
@@ -41,14 +52,14 @@ package_art-sharp() {
make -C art install DESTDIR="${pkgdir}"
}
-#package_gconf-sharp() {
-# pkgdesc="Mono bindings for GConf"
-# depends=('gtk-sharp-2' 'gconf')
-#
-# cd "${srcdir}/${pkgbase}-${pkgver}"
-# make -C gconf/GConf install DESTDIR="${pkgdir}"
-# make -C gconf/tools install DESTDIR="${pkgdir}"
-#}
+package_gconf-sharp() {
+ pkgdesc="Mono bindings for GConf"
+ depends=('gtk-sharp-2' 'gconf')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ make -C gconf/GConf install DESTDIR="${pkgdir}"
+ make -C gconf/tools install DESTDIR="${pkgdir}"
+}
package_gconf-sharp-peditors() {
pkgdesc="Mono bindings for GConf - Property Editing classes"
@@ -59,6 +70,7 @@ package_gconf-sharp-peditors() {
}
package_libgnome-sharp() {
+ arch=(i686 x86_64)
pkgdesc="Mono bindings for libgnome"
depends=('art-sharp' 'gnome-vfs-sharp' 'libgnomeui')