Date: Sunday, November 12, 2017 @ 14:24:19 Author: andyrtr Revision: 309648
archrelease: copy trunk to extra-x86_64 Added: libfreehand/repos/extra-x86_64/ libfreehand/repos/extra-x86_64/PKGBUILD (from rev 309647, libfreehand/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: libfreehand/repos/extra-x86_64/PKGBUILD (from rev 309647, libfreehand/trunk/PKGBUILD) =================================================================== --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2017-11-12 14:24:19 UTC (rev 309648) @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: AndyRTR <andy...@archlinux.org> + +pkgname=libfreehand +pkgver=0.1.2 +pkgrel=1 +pkgdesc="a library for import of Aldus/Macromedia/Adobe FreeHand documents" +arch=('x86_64') +url="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand" +license=('MPL2') +depends=('librevenge' 'lcms2') +makedepends=('boost' 'cppunit' 'gperf' 'doxygen') +source=("https://dev-www.libreoffice.org/src/libfreehand/$pkgname-$pkgver.tar.xz") +sha256sums=('0e422d1564a6dbf22a9af598535425271e583514c0f7ba7d9091676420de34ac') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +check() { + cd "$pkgname-$pkgver" + make check +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +}