archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libfreehand / repos / extra-x86_64 / PKGBUILD
blob1e635c85bbf25c56462a9722e9cf437fcfb24cfe
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
3 pkgname=libfreehand
4 pkgver=0.1.2
5 pkgrel=4
6 pkgdesc="a library for import of Aldus/Macromedia/Adobe FreeHand documents"
7 arch=('x86_64')
8 url="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand"
9 license=('MPL2')
10 depends=('librevenge' 'lcms2')
11 makedepends=('boost' 'cppunit' 'gperf' 'doxygen')
12 source=("https://dev-www.libreoffice.org/src/libfreehand/$pkgname-$pkgver.tar.xz"
13         'libfreehand-0.1.2-icu-fix.patch')
14 sha256sums=('0e422d1564a6dbf22a9af598535425271e583514c0f7ba7d9091676420de34ac'
15             '11b5b5fcbb4f427486e83ee042cd3f2b030bcf8238f5d1925942416067d0254b')
17 prepare() {
18         cd "$pkgname-$pkgver"
19         patch -p1 -i $srcdir/libfreehand-0.1.2-icu-fix.patch
22 build() {
23         cd "$pkgname-$pkgver"
24         ./configure --prefix=/usr --disable-werror
25         make
28 check() {
29         cd "$pkgname-$pkgver"
30         make check
33 package() {
34         cd "$pkgname-$pkgver"
35         make DESTDIR="$pkgdir/" install