Date: Sunday, June 20, 2010 @ 12:51:19 Author: andrea Revision: 83010
upgpkg: gnokii 0.6.29-1 upstream release Modified: gnokii/trunk/PKGBUILD ----------+ PKGBUILD | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-06-20 16:48:26 UTC (rev 83009) +++ PKGBUILD 2010-06-20 16:51:19 UTC (rev 83010) @@ -4,14 +4,14 @@ # Contributor: Aurelien Foret <orel...@chez.com> pkgname=gnokii -pkgver=0.6.28.1 +pkgver=0.6.29 pkgrel=1 pkgdesc="Tools and user space driver for use with mobile phones" arch=('i686' 'x86_64') url="http://www.gnokii.org/" license=('GPL') -depends=('libusb' 'libxpm' 'bluez' 'libical' 'postgresql-libs>=8.4.1') -makedepends=('gtk2' 'libmysqlclient>=5.1' 'perlxml' 'intltool') +depends=('libusb' 'libxpm' 'bluez' 'libical' 'postgresql-libs') +makedepends=('gtk2' 'libmysqlclient' 'perlxml' 'intltool') optdepends=('gtk2: xgnokii GUI' 'libmysqlclient: smsd mysql backend' 'postgresql-libs: smsd postgresql backend') @@ -19,23 +19,27 @@ options=('!libtool' '!makeflags') source=(http://www.gnokii.org/download/$pkgname/$pkgname-${pkgver}.tar.bz2 'gnokii.patch') -md5sums=('520d300f1838460d374410ea99ff9a11' +md5sums=('6111e0158a1129062bda6420db67c313' '4d764727686ee34bc73489c8b1321c82') build() { - cd "${srcdir}/${pkgname}-0.6.28" + cd "${srcdir}/${pkgname}-${pkgver}" # FS#13249 - sed -i 's|cellphone|phone|' xgnokii/xgnokii.desktop.in || return 1 + sed -i 's|cellphone|phone|' xgnokii/xgnokii.desktop.in - patch -Np1 -i "${srcdir}/gnokii.patch" || return 1 + patch -Np1 -i "${srcdir}/gnokii.patch" ./configure --prefix=/usr \ --sysconfdir=/etc \ --enable-security \ - --disable-unix98test || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + --disable-unix98test + make +} - install -Dm644 Docs/sample/gnokiirc "${pkgdir}/etc/gnokiirc" || return 1 +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -Dm644 Docs/sample/gnokiirc "${pkgdir}/etc/gnokiirc" }