[arch-commits] Commit in libglade/trunk (PKGBUILD)
Jan de Groot
jgc at nymeria.archlinux.org
Mon Oct 28 14:56:38 UTC 2013
Date: Monday, October 28, 2013 @ 15:56:38
Author: jgc
Revision: 197693
upgpkg: libglade 2.6.4-5
Fix python interpreter
Modified:
libglade/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-28 14:46:28 UTC (rev 197692)
+++ PKGBUILD 2013-10-28 14:56:38 UTC (rev 197693)
@@ -3,7 +3,7 @@
pkgname=libglade
pkgver=2.6.4
-pkgrel=4
+pkgrel=5
pkgdesc="Allows you to load glade interface files in a program at runtime"
arch=(i686 x86_64)
license=('LGPL')
@@ -17,15 +17,19 @@
md5sums=('d1776b40f4e166b5e9c107f1c8fe4139'
'4f879c0ce550004905aa0fb24f25c353')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../libglade-2.0.1-nowarning.patch
+}
+
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/libglade-2.0.1-nowarning.patch"
- PYTHON=python2 ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var
+ cd $pkgname-$pkgver
+ PYTHON=/usr/bin/python2 ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
install -m755 libglade-convert "${pkgdir}/usr/bin/"
}
More information about the arch-commits
mailing list