From eff0f7c447d41125c2a7eda812b8432b411f3e6e Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Fri, 5 Apr 2013 10:38:02 -0400 Subject: [PATCH] Update for pacman 4.1, which calls prepare() automatically --- PKGBUILD | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index e8ca1f7..c3ed648 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -8,7 +8,7 @@ pkgver=1.0.2 _seafilever=1.5.3 #The release number for the arch package, as fixes are added to the PKGBUILD, the release number will increase -pkgrel=3 +pkgrel=4 # The description of the package, should be about 80 characters long (one line) pkgdesc="A simple and easy-to-use C language RPC framework (including both server side & client side) based on GObject System." @@ -23,7 +23,7 @@ url="https://github.com/haiwen/libsearpc/" license=('GPLv3') # Packages that your software needs to run. If the dependancy requires a minimum version number use the >= operator -depends=('glib2>=2.16.0') +depends=('glib2>=2.16.0' 'pacman>=4.1') # Packages that must be installed to build the software, but at not necessary to run it makedepends=('python2-simplejson') @@ -48,7 +48,6 @@ prepare () { } build () { - prepare cd "$srcdir/seafile-$_seafilever/$pkgname" ./configure --prefix=/usr PYTHON=/usr/bin/python2 make -j1