summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Sun2018-07-30 13:55:59 -0400
committerAndrew Sun2018-07-30 13:55:59 -0400
commite58034a5cc2c9a99809299d5d5b08f12b7f6663c (patch)
tree18b89c67368dcfe806da79fded31459d38de3fd2
parent4c71fe9a52bf23877fff8046b07b4081c740d56c (diff)
downloadaur-e58034a5cc2c9a99809299d5d5b08f12b7f6663c.tar.gz
mingw-w64-libfreexl: update to 1.0.5
-rw-r--r--.SRCINFO11
-rw-r--r--01-fix-pkgconfig.patch8
-rw-r--r--PKGBUILD21
3 files changed, 30 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5273e9c1ae2..fcb18f4a67a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,22 @@
pkgbase = mingw-w64-libfreexl
pkgdesc = Library to extract valid data from within an Excel (.xls) spreadsheet (mingw-w64)
- pkgver = 1.0.2
+ pkgver = 1.0.5
pkgrel = 1
- url = https://www.gaia-gis.it/fossil/freexl/‎
+ url = https://www.gaia-gis.it/fossil/freexl/
arch = any
license = MPL
license = GPL
license = LGPL
makedepends = mingw-w64-configure
depends = mingw-w64-crt
+ depends = mingw-w64-libiconv
options = !strip
options = !buildflags
options = staticlibs
- source = http://www.gaia-gis.it/gaia-sins/freexl-1.0.2.tar.gz
- sha256sums = b39a4814a0f53f5e09a9192c41e3e51bd658843f770399023a963eb064f6409d
+ source = http://www.gaia-gis.it/gaia-sins/freexl-1.0.5.tar.gz
+ source = 01-fix-pkgconfig.patch
+ sha256sums = 3dc9b150d218b0e280a3d6a41d93c1e45f4d7155829d75f1e5bf3e0b0de6750d
+ sha256sums = bc6facd7b0bde308d442962b350fa1894cd6605412ae4665775be745069e4ea5
pkgname = mingw-w64-libfreexl
diff --git a/01-fix-pkgconfig.patch b/01-fix-pkgconfig.patch
new file mode 100644
index 00000000000..c38b48df7b1
--- /dev/null
+++ b/01-fix-pkgconfig.patch
@@ -0,0 +1,8 @@
+--- a/freexl.pc.in 2014-10-28 12:36:32.764934500 +0300
++++ b/freexl.pc.in 2014-10-28 12:36:49.427413200 +0300
+@@ -9,4 +9,5 @@
+ Description: a simple library extracting data from .xls (Excel BIFF) files
+ Version: @VERSION@
+ Libs: -L${libdir} -lfreexl -lm
++Libs.private: -liconv
+ Cflags: -I${includedir}
diff --git a/PKGBUILD b/PKGBUILD
index c73c4dc2fb8..2ea484a21b3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,29 @@
+# Maintainer: Andrew Sun <adsun701@gmail.com>
+
pkgname=mingw-w64-libfreexl
-pkgver=1.0.2
+pkgver=1.0.5
pkgrel=1
pkgdesc="Library to extract valid data from within an Excel (.xls) spreadsheet (mingw-w64)"
arch=('any')
-url="https://www.gaia-gis.it/fossil/freexl/‎"
+url="https://www.gaia-gis.it/fossil/freexl/"
license=('MPL' 'GPL' 'LGPL')
-depends=('mingw-w64-crt')
+depends=('mingw-w64-crt' 'mingw-w64-libiconv')
makedepends=('mingw-w64-configure')
options=('!strip' '!buildflags' 'staticlibs')
-source=(http://www.gaia-gis.it/gaia-sins/freexl-$pkgver.tar.gz)
-sha256sums=('b39a4814a0f53f5e09a9192c41e3e51bd658843f770399023a963eb064f6409d')
+source=("http://www.gaia-gis.it/gaia-sins/freexl-${pkgver}.tar.gz"
+ "01-fix-pkgconfig.patch")
+sha256sums=('3dc9b150d218b0e280a3d6a41d93c1e45f4d7155829d75f1e5bf3e0b0de6750d'
+ 'bc6facd7b0bde308d442962b350fa1894cd6605412ae4665775be745069e4ea5')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
+prepare() {
+ cd ${srcdir}/freexl-${pkgver}
+ patch -Np1 -i ${srcdir}/01-fix-pkgconfig.patch
+}
+
build() {
- cd ${srcdir}/freexl-$pkgver
+ cd ${srcdir}/freexl-${pkgver}
for _arch in ${_architectures}; do
mkdir -p build-${_arch} && pushd build-${_arch}
${_arch}-configure