mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
libofx: update to 0.9.10
This commit is contained in:
parent
7a0c051315
commit
40a77f1938
40
libofx/PKGBUILD
Normal file
40
libofx/PKGBUILD
Normal file
@ -0,0 +1,40 @@
|
||||
pkgbase=libofx
|
||||
pkgname=('libofx' 'libofx-doc')
|
||||
pkgver=0.9.10
|
||||
pkgrel=1
|
||||
pkgdesc="API for the OFX banking standard"
|
||||
arch=('x86_64')
|
||||
url="http://libofx.sourceforge.net"
|
||||
license=('GPL')
|
||||
depends=('opensp' 'curl' 'libxml++')
|
||||
checkdepends=('gnupg')
|
||||
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
|
||||
sha1sums=('33f394c963c087217cb6c508af842d4844bc0823')
|
||||
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgbase-$pkgver"
|
||||
./configure --prefix=/usr
|
||||
make CXXFLAGS+=-std=c++11
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir/$pkgbase-$pkgver"
|
||||
make check
|
||||
}
|
||||
|
||||
package_libofx() {
|
||||
options=('!docs')
|
||||
|
||||
cd "$srcdir/$pkgbase-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
package_libofx-doc() {
|
||||
pkgdesc="Documention of the OFX banking standard API"
|
||||
depends=()
|
||||
|
||||
cd "$srcdir/$pkgbase-$pkgver"
|
||||
make DESTDIR="$pkgdir" install-docDATA
|
||||
make -C doc DESTDIR="$pkgdir" install
|
||||
}
|
Loading…
Reference in New Issue
Block a user