diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-03-14 09:56:06 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-03-14 10:00:26 +0000 |
commit | 26df5daf8d3863e1b75b508d5c0bd5612f889bb0 (patch) | |
tree | b70c3a75967bf3f8d84ae6d3dbb14827a6db1767 | |
parent | ea2c8832fa9d635157255e6297f1f5a19f52c3b9 (diff) | |
download | aports-26df5daf8d3863e1b75b508d5c0bd5612f889bb0.tar.bz2 aports-26df5daf8d3863e1b75b508d5c0bd5612f889bb0.tar.xz |
community/libmspub: upgrade to 0.1.4 and modernize
-rw-r--r-- | community/libmspub/APKBUILD | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/community/libmspub/APKBUILD b/community/libmspub/APKBUILD index ac22a211f1..f7327bc657 100644 --- a/community/libmspub/APKBUILD +++ b/community/libmspub/APKBUILD @@ -1,33 +1,21 @@ # Contributor: Timo Teräs <timo.teras@iki.fi> # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=libmspub -pkgver=0.1.3 -pkgrel=1 +pkgver=0.1.4 +pkgrel=0 pkgdesc="Import filter and tools for MS Publisher files" url="https://wiki.documentfoundation.org/DLP/Libraries/libmspub" arch="all" license="MPL-2.0" -depends="" depends_dev="boost-dev librevenge-dev zlib-dev icu-dev libwpd-dev libwpg-dev" makedepends="$depends_dev doxygen" -install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz" -_builddir="$srcdir"/$pkgname-$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 - update_config_sub -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -35,14 +23,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() { @@ -50,4 +37,4 @@ tools() { mv "$pkgdir"/usr/bin "$subpkgdir"/usr } -sha512sums="3d3680a732c84f7817cf079ae458f56e1eac14663014d48c29f54a6b4dfee887c2cc296a6d6e00d2e05329126414e6513cd7d1187c760ce952c72c27a7ccda46 libmspub-0.1.3.tar.xz" +sha512sums="7275f890645961b3fd56df4584788962e8c064fe3f99f5834c6ba6177ce76d00d544fbe9a25b7ab2f4180d2f3a90c609fe0bb68d61ea24e95b086190390fff31 libmspub-0.1.4.tar.xz" |