aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-23 18:41:40 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-23 18:41:40 +0000
commit4e3fbb7e5935fb930ab1b0f0f83084c9fd5dfdc6 (patch)
tree779ef98c5e9b133f4eedf1dea0ad287d6ba79c39
parenta60987858f2d31749aad004861f4896fa98c7816 (diff)
downloadalpine_aports-4e3fbb7e5935fb930ab1b0f0f83084c9fd5dfdc6.tar.bz2
alpine_aports-4e3fbb7e5935fb930ab1b0f0f83084c9fd5dfdc6.tar.xz
alpine_aports-4e3fbb7e5935fb930ab1b0f0f83084c9fd5dfdc6.zip
community/libcdr: modernize and add check
-rw-r--r--community/libcdr/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/community/libcdr/APKBUILD b/community/libcdr/APKBUILD
index a0d10c186b..a8c1dd9e5e 100644
--- a/community/libcdr/APKBUILD
+++ b/community/libcdr/APKBUILD
@@ -2,19 +2,17 @@
2# Maintainer: Timo Teräs <timo.teras@iki.fi> 2# Maintainer: Timo Teräs <timo.teras@iki.fi>
3pkgname=libcdr 3pkgname=libcdr
4pkgver=0.1.4 4pkgver=0.1.4
5pkgrel=0 5pkgrel=1
6pkgdesc="Import filter and tools for Corel DRAW files" 6pkgdesc="Import filter and tools for Corel DRAW files"
7url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr" 7url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr"
8arch="all" 8arch="all"
9license="MPL2" 9license="MPL2"
10depends=""
11depends_dev="boost-dev" 10depends_dev="boost-dev"
12makedepends="$depends_dev doxygen icu-dev lcms2-dev zlib-dev librevenge-dev" 11makedepends="$depends_dev doxygen icu-dev lcms2-dev zlib-dev librevenge-dev"
13install=""
14subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" 12subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
15source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz" 13source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz"
16 14
17builddir="$srcdir"/$pkgname-$pkgver 15builddir="$srcdir/$pkgname-$pkgver"
18 16
19prepare() { 17prepare() {
20 default_prepare 18 default_prepare
@@ -34,6 +32,11 @@ build() {
34 make 32 make
35} 33}
36 34
35check() {
36 cd "$builddir"
37 make check
38}
39
37package() { 40package() {
38 cd "$builddir" 41 cd "$builddir"
39 make DESTDIR="$pkgdir" install 42 make DESTDIR="$pkgdir" install