[arch-commits] Commit in libofx/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Tue Feb 8 09:52:29 UTC 2011
Date: Tuesday, February 8, 2011 @ 04:52:28
Author: eric
Revision: 109327
upgpkg: libofx 0.9.1-1
Upstream update, Moved docs in splitted package
Modified:
libofx/trunk/PKGBUILD
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++--------------
1 file changed, 27 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-02-08 08:34:35 UTC (rev 109326)
+++ PKGBUILD 2011-02-08 09:52:28 UTC (rev 109327)
@@ -1,27 +1,40 @@
# $Id: PKGBUILD,v 1.9 2009/02/06 16:41:19 abhidg Exp $
# Maintainer: Aaron Griffin <aaron at archlinux.org>
-# Contributor: Jaroslaw Swierczynski <swiergot at aur.archlinux.org>
-# Contributor: Eric Belanger <belanger at astro.umontreal.ca>
-# Contributor: Todd Maynard <arch at toddmaynard.com>
-pkgname=libofx
-pkgver=0.9.0
-pkgrel=2
+pkgbase=libofx
+pkgname=('libofx' 'libofx-doc')
+pkgver=0.9.1
+pkgrel=1
pkgdesc="API for the OFX banking standard"
arch=('i686' 'x86_64')
url="http://libofx.sourceforge.net"
-license=("GPL")
+license=('GPL')
+depends=('opensp' 'curl' 'gcc-libs')
options=('!libtool')
-depends=('opensp>=1.5.2' 'curl' 'gcc-libs')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz \
fix_cpp_includes.patch)
-md5sums=('6e2172f0117f90805590bf755190b79e'
- '17b65fe122dbb2df222aeee698bdf049')
+md5sums=('e634f47ca12e82d860912d48c93b8e50' '17b65fe122dbb2df222aeee698bdf049')
+sha1sums=('a12110ddcbff596e26496865570fb4dcb75c08d0' 'adbab270bbd2ea938a5392217c87a268a43b4991')
build() {
- cd $srcdir/$pkgname-$pkgver
- patch -Np1 -i $srcdir/fix_cpp_includes.patch || return 1
+ cd "$srcdir/$pkgname-$pkgver"
+ patch -p1 -i "$srcdir/fix_cpp_includes.patch"
./configure --prefix=/usr
- make || return 1
- make DESTDIR=$pkgdir install
+ make
}
+
+package_libofx() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ rm -r "$pkgdir/usr/share/doc"
+}
+
+package_libofx-doc() {
+ pkgdesc="Documention of the OFX banking standard API"
+ depends=()
+
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install-docDATA
+ cd doc
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list