diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-03-30 15:34:24 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-03-30 15:34:24 +0300 |
commit | 5f8a62f0ddcdf4a0bc55323c130fce1dd134bc4a (patch) | |
tree | 0f1c989695ff7b6efd2cf41195faf379d119b4ab /main/libcdr | |
parent | b1af562537bc5792a5c9321b2cb64fb79a09aef4 (diff) | |
download | aports-5f8a62f0ddcdf4a0bc55323c130fce1dd134bc4a.tar.bz2 aports-5f8a62f0ddcdf4a0bc55323c130fce1dd134bc4a.tar.xz |
main/libcdr: upgrade to 0.1.2
Diffstat (limited to 'main/libcdr')
-rw-r--r-- | main/libcdr/APKBUILD | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/main/libcdr/APKBUILD b/main/libcdr/APKBUILD index 3a89aebf3a..ddab19794c 100644 --- a/main/libcdr/APKBUILD +++ b/main/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.1 -pkgrel=2 +pkgver=0.1.2 +pkgrel=0 pkgdesc="Import filter and tools for Corel DRAW files" url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr" arch="all" @@ -14,19 +14,15 @@ install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz" -_builddir="$srcdir"/$pkgname-$pkgver +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 + default_prepare + update_config_sub } build() { - cd "$_builddir" + cd "$builddir" # workaround for boost-1.59 export CPPFLAGS="-DBOOST_ERROR_CODE_HEADER_ONLY" @@ -43,7 +39,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } @@ -52,6 +48,6 @@ tools() { mv "$pkgdir"/usr/bin "$subpkgdir"/usr } -md5sums="72ed4d2f900eac95061207d026d5324c libcdr-0.1.1.tar.xz" -sha256sums="d0a6e0667e5a37fe059bcb81d5077fc2abffc7e7bac86fe302fbcf927d58df1f libcdr-0.1.1.tar.xz" -sha512sums="a655b5390022fb5049d2f75fe836a693033943060d820942d59eb0a34548363ff183e0f32d22ec277d1f8b5c7ab89ab1fba933f17ef1239d14d053bd6a5cf624 libcdr-0.1.1.tar.xz" +md5sums="c8f6c5e3b5769c9814e07ce5b9d07fba libcdr-0.1.2.tar.xz" +sha256sums="6bdb20bcdec5ad1a115d0a3aada7d4b2758e9d22801d72b4ecc2e55fb3d5d42c libcdr-0.1.2.tar.xz" +sha512sums="c5c08444fa28be13b60ba1aa515a47606de80b079cbabb0276f54064820fecb2a6ee50a8b33a6cc1b2f5f46323d3de7f00822aadec5c3058a14adebf5255da91 libcdr-0.1.2.tar.xz" |