diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-09-20 05:52:37 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-09-20 05:52:37 +0000 |
commit | a39807845d681c02e7931d4ec028a2c1dfed21cd (patch) | |
tree | b031d8e44c4fa80acaae55535b61a03832e180a3 /community/libcdr/APKBUILD | |
parent | 506d3af9a81cf3d9bdb8f84ff87b31f1e1b9bd98 (diff) | |
download | aports-a39807845d681c02e7931d4ec028a2c1dfed21cd.tar.bz2 aports-a39807845d681c02e7931d4ec028a2c1dfed21cd.tar.xz |
community/libcdr: upgrade to 0.1.4, modernize
Diffstat (limited to 'community/libcdr/APKBUILD')
-rw-r--r-- | community/libcdr/APKBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/community/libcdr/APKBUILD b/community/libcdr/APKBUILD index dc90a8c32a..a0d10c186b 100644 --- a/community/libcdr/APKBUILD +++ b/community/libcdr/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Timo Teräs <timo.teras@iki.fi> # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=libcdr -pkgver=0.1.3 -pkgrel=2 +pkgver=0.1.4 +pkgrel=0 pkgdesc="Import filter and tools for Corel DRAW files" url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr" arch="all" @@ -16,6 +16,11 @@ source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz" builddir="$srcdir"/$pkgname-$pkgver +prepare() { + default_prepare + update_config_sub +} + build() { cd "$builddir" ./configure \ @@ -25,14 +30,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 + make DESTDIR="$pkgdir" install } tools() { @@ -40,6 +44,4 @@ tools() { mv "$pkgdir"/usr/bin "$subpkgdir"/usr } -md5sums="74589ce5bb944974f4308906d9e9dc5c libcdr-0.1.3.tar.xz" -sha256sums="66e28e502abef7f6f494ce03de037d532f5e7888cfdee62c01203c8325b33f22 libcdr-0.1.3.tar.xz" -sha512sums="9811efb13f7dd72c69a98e81b44a261e913ffe87200486c8e07200d75790004d4fdf30e29f779b0ddd2ad09e3d1e8813ef501e9448c1789f89256f71bdb5fadd libcdr-0.1.3.tar.xz" +sha512sums="769b0319b5a904ce9f727b7076f82cd915ecd8c9e5e2456416e3e6739c6403bbd4108787ab124d36efb1b47d5c9e37c48b0e12d096eb440ae8f9979ec06048a6 libcdr-0.1.4.tar.xz" |