diff options
author | Max Rees <maxcrees@me.com> | 2018-08-09 23:08:34 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2018-08-09 23:08:34 -0400 |
commit | 0b2c4a78b9b601af688eba4648a8bff5e02d52fb (patch) | |
tree | 13b41b2c7babe2a97685969c260f447eb6423b40 /user/libfreehand | |
parent | 4baec85542ea9f161fe78046691005c411ef4484 (diff) | |
download | packages-0b2c4a78b9b601af688eba4648a8bff5e02d52fb.tar.gz packages-0b2c4a78b9b601af688eba4648a8bff5e02d52fb.tar.bz2 packages-0b2c4a78b9b601af688eba4648a8bff5e02d52fb.tar.xz packages-0b2c4a78b9b601af688eba4648a8bff5e02d52fb.zip |
user/libfreehand: pull in, fix license
Diffstat (limited to 'user/libfreehand')
-rw-r--r-- | user/libfreehand/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/user/libfreehand/APKBUILD b/user/libfreehand/APKBUILD new file mode 100644 index 000000000..85ff7cf1f --- /dev/null +++ b/user/libfreehand/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Max Rees <maxcrees@me.com> +pkgname=libfreehand +pkgver=0.1.2 +pkgrel=1 +pkgdesc="Import filter and tools for Adobe FreeHand documents" +url="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand" +arch="all" +license="MPL-2.0 AND Public-Domain" +depends="" +depends_dev="libxml2-dev lcms2-dev icu-dev" +makedepends="$depends_dev gperf perl doxygen librevenge-dev zlib-dev" +checkdepends="cppunit-dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" +source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz" + +prepare() { + default_prepare + update_config_sub +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-werror + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +tools() { + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr +} + +sha512sums="4112a76ac99999801d97d1b282596d631d8496a5bf65778ab26aa06da86637b1e2b630648a67ea01bf3316ecec9f2715546baff27af090b900267c87a011b963 libfreehand-0.1.2.tar.xz" |