aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-03-30 15:19:43 +0300
committerTimo Teräs <timo.teras@iki.fi>2016-03-30 15:19:43 +0300
commitf8794591186254731afa671b2bc3c2a438dffad4 (patch)
tree1e45d55fd6a6762c5767a33a358f5595a18e94b4
parentee2b20e1963e38e248697dabc6c0fc175e8ffe01 (diff)
downloadaports-f8794591186254731afa671b2bc3c2a438dffad4.tar.bz2
aports-f8794591186254731afa671b2bc3c2a438dffad4.tar.xz
main/libwps: upgrade to 0.4.3
-rw-r--r--main/libwps/APKBUILD23
1 files changed, 7 insertions, 16 deletions
diff --git a/main/libwps/APKBUILD b/main/libwps/APKBUILD
index 6d653273c4..9e561c59a2 100644
--- a/main/libwps/APKBUILD
+++ b/main/libwps/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libwps
-pkgver=0.4.2
+pkgver=0.4.3
pkgrel=0
pkgdesc="Import filter and tools for Microsoft Works files"
url="http://sourceforge.net/projects/libwps/"
@@ -14,19 +14,10 @@ install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="http://downloads.sourceforge.net/project/libwps/libwps/libwps-$pkgver/libwps-$pkgver.tar.bz2"
-_builddir="$srcdir"/libwps-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/libwps-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -40,7 +31,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
@@ -49,6 +40,6 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}
-md5sums="8a6c55542ce80203dd6d3b1cba99d4e5 libwps-0.4.2.tar.bz2"
-sha256sums="254b8aeb36a3b58eabf682b04a5a6cf9b01267e762c7dc57d4533b95f30dc587 libwps-0.4.2.tar.bz2"
-sha512sums="f7f9bc985ebd5599e0a38006dff6f63b0cb0c3ac2b873bbdb19878f71031d00527fa88fc134b75722329954ac7a8849ec9d314a11099a7089f407e9321530073 libwps-0.4.2.tar.bz2"
+md5sums="027fb17fb9e43553aa6624dc18f830ac libwps-0.4.3.tar.bz2"
+sha256sums="0c30407865a873ff76b6d5b2d2aa599f6af68936638c81ca8292449324042a6c libwps-0.4.3.tar.bz2"
+sha512sums="a7be3997962a7aab4f471ef0d4b7c13d5af2bbcd6ab0ecd0f62f191ba6c9ce96f68043930ff1cdddc4f4690d893475a49ad534651bf5f5e37fa82d5ae52c851a libwps-0.4.3.tar.bz2"