[arch-commits] Commit in hyena/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Wed Jan 10 03:18:42 UTC 2018
Date: Wednesday, January 10, 2018 @ 03:18:41
Author: bgyorgy
Revision: 280822
upgpkg: hyena 0.5-5
Fix build
Modified:
hyena/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-10 03:10:33 UTC (rev 280821)
+++ PKGBUILD 2018-01-10 03:18:41 UTC (rev 280822)
@@ -4,13 +4,12 @@
pkgname=hyena
pkgver=0.5
-pkgrel=4
+pkgrel=5
pkgdesc="Library for creating C Sharp applications"
arch=('any')
url="https://wiki.gnome.org/Hyena"
license=('MIT')
depends=('gtk-sharp-2')
-options=('!emptydirs')
source=(https://download.gnome.org/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2
fix-build.patch)
sha256sums=('eb7154a42b6529bb9746c39272719f3168d6363ed4bad305a916ed7d90bc8de9'
@@ -17,27 +16,28 @@
'7528a78b710c253d787c3cc8239d42f85290bad9253eb0575b87d9dd9034609b')
prepare() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
# Fix build
# https://bugzilla.gnome.org/show_bug.cgi?id=633333
patch -Np1 -i "$srcdir/fix-build.patch"
- # Build for mono 4.0
- sed -i 's/MONO_2_0/MONO_4_0/' configure.ac
-}
+ sed -i 's/gmcs/mcs/
+ s/2\.0/2.0-api/' build/m4/shamrock/mono.m4
-build() {
- cd "$srcdir/$pkgname-$pkgver"
aclocal -I build/m4/shamrock
automake --gnu
autoconf
+}
+
+build() {
+ cd $pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
- install -Dm644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/COPYING
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
More information about the arch-commits
mailing list