libzmf: update to 0.0.2

This commit is contained in:
Francesco Marinucci 2018-02-21 22:16:12 +00:00
parent c1c639e9d2
commit beb02b6bed

View File

@ -1,33 +1,30 @@
# $Id$
# Maintainer: AndyRTR <andyrtr@archlinux.org>
pkgname=libzmf
pkgver=0.0.1
pkgver=0.0.2
pkgrel=1
pkgdesc="a library for import of Zoner drawing and bitmap files"
arch=('i686' 'x86_64')
arch=('x86_64')
url="https://wiki.documentfoundation.org/DLP/Libraries/libzmf"
license=('MPL')
source=(http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${pkgver}.tar.xz)
source=(http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz)
depends=('librevenge' 'libpng')
makedepends=('boost' 'cppunit' 'doxygen')
sha256sums=('eaf533ea29f9b66e75c0dcb631f1616b4f3cec9474e4fa0d2835769056a0e57a')
sha256sums=('27051a30cb057fdb5d5de65a1f165c7153dc76e27fe62251cbb86639eb2caf22')
build() {
cd ${pkgname}-${pkgver}
cd $pkgname-$pkgver
./configure --prefix=/usr --disable-werror
make
}
check() {
cd ${pkgname}-${pkgver}
cd $pkgname-$pkgver
make check
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
install -Dm644 COPYING $pkgdir/usr/share/licenses/${pkgname}/COPYING
}