libcdr: New package.
This commit is contained in:
47
mingw-w64-libcdr/PKGBUILD
Normal file
47
mingw-w64-libcdr/PKGBUILD
Normal file
@@ -0,0 +1,47 @@
|
||||
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
_realname=libcdr
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=0.1.1
|
||||
pkgrel=1
|
||||
pkgdesc="CorelDraw file format importer library for LibreOffice (mingw-w64)"
|
||||
arch=('any')
|
||||
license=('GPL2' 'LGPL2.1' 'MPL')
|
||||
url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr"
|
||||
options=('staticlibs' 'strip')
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
|
||||
"${MINGW_PACKAGE_PREFIX}-boost"
|
||||
"${MINGW_PACKAGE_PREFIX}-pkg-config"
|
||||
"doxygen")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-libwpd"
|
||||
"${MINGW_PACKAGE_PREFIX}-lcms2"
|
||||
"${MINGW_PACKAGE_PREFIX}-librevenge"
|
||||
"${MINGW_PACKAGE_PREFIX}-icu")
|
||||
source=(http://dev-www.libreoffice.org/src/${_realname}/${_realname}-$pkgver.tar.xz)
|
||||
md5sums=('72ed4d2f900eac95061207d026d5324c')
|
||||
|
||||
prepare() {
|
||||
cd ${_realname}-${pkgver}
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${_realname}-${pkgver}
|
||||
./configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--build=${MINGW_CHOST} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--enable-shared \
|
||||
--enable-static
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${_realname}-${pkgver}
|
||||
make -k check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${_realname}-${pkgver}
|
||||
make -j1 DESTDIR="${pkgdir}" install
|
||||
}
|
||||
Reference in New Issue
Block a user