aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-07-31 10:18:20 +0300
committerTimo Teräs <timo.teras@iki.fi>2017-07-31 10:18:20 +0300
commit991722ec14465e1167f196fac876b3cc39ddb2af (patch)
tree300b31ef0a66386b4bb734d0dfbcab224dc62346
parent12ccd4451ae3aa7550ef90f12d4c69c8b9543c15 (diff)
downloadaports-991722ec14465e1167f196fac876b3cc39ddb2af.tar.gz
aports-991722ec14465e1167f196fac876b3cc39ddb2af.tar.bz2
aports-991722ec14465e1167f196fac876b3cc39ddb2af.tar.xz
community/libmwaw: upgrade to 0.3.12
-rw-r--r--community/libmwaw/APKBUILD26
1 files changed, 8 insertions, 18 deletions
diff --git a/community/libmwaw/APKBUILD b/community/libmwaw/APKBUILD
index fe56e1c16e..63e77afea2 100644
--- a/community/libmwaw/APKBUILD
+++ b/community/libmwaw/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libmwaw
-pkgver=0.3.11
+pkgver=0.3.12
pkgrel=0
pkgdesc="Import filter and tools for old Mac documents"
url="http://sourceforge.net/projects/libmwaw/"
@@ -14,19 +14,10 @@ install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="http://downloads.sourceforge.net/project/libmwaw/libmwaw/libmwaw-$pkgver/libmwaw-$pkgver.tar.bz2"
-_builddir="$srcdir"/libmwaw-$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"/libmwaw-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -34,14 +25,13 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
tools() {
@@ -49,4 +39,4 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}
-sha512sums="178208aef9cb12c2a8768dabb6fcb64e4d989e5beb90147faa711b9558e7115bf2e738e3f129f556e1920099d41790761b539144fb2ef0070103d8a2be6e0748 libmwaw-0.3.11.tar.bz2"
+sha512sums="0a475121ff6944e8fe7be0766e1fbbd7e63a761b2687b4fb311c03d67680fcf4a04b64158e4c98a6526054ede14cc60a4982e68a081631bbc8464104893c75b0 libmwaw-0.3.12.tar.bz2"