diff --git a/libcdr/.SRCINFO b/libcdr/.SRCINFO index 94e00b0ff4..9ad370684a 100644 --- a/libcdr/.SRCINFO +++ b/libcdr/.SRCINFO @@ -1,16 +1,15 @@ pkgbase = libcdr pkgdesc = CorelDraw file format importer library for LibreOffice - pkgver = 0.1.7 - pkgrel = 8.1 + pkgver = 0.1.8 + pkgrel = 1 url = https://wiki.documentfoundation.org/DLP/Libraries/libcdr arch = x86_64 arch = powerpc64le arch = powerpc64 arch = powerpc arch = riscv64 - license = GPL2 - license = LGPL2.1 - license = MPL + license = MPL-2.0 + license = LicenseRef-libcdr-Public-Domain makedepends = libwpg makedepends = boost makedepends = doxygen @@ -21,7 +20,7 @@ pkgbase = libcdr depends = zlib depends = gcc-libs depends = glibc - source = https://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.7.tar.xz - sha256sums = 5666249d613466b9aa1e987ea4109c04365866e9277d80f6cd9663e86b8ecdd4 + source = https://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.8.tar.xz + sha256sums = ced677c8300b29c91d3004bb1dddf0b99761bf5544991c26c2ee8f427e87193c pkgname = libcdr diff --git a/libcdr/.nvchecker.toml b/libcdr/.nvchecker.toml new file mode 100644 index 0000000000..d6e95e31ae --- /dev/null +++ b/libcdr/.nvchecker.toml @@ -0,0 +1,6 @@ +[libcdr] +source = "git" +git = "https://git.libreoffice.org/libcdr" + +use_max_tag = true +prefix = "libcdr-" diff --git a/libcdr/PKGBUILD b/libcdr/PKGBUILD index 49e0816755..f20b2f7424 100644 --- a/libcdr/PKGBUILD +++ b/libcdr/PKGBUILD @@ -4,17 +4,18 @@ # Contributor: Luca Bennati pkgname=libcdr -pkgver=0.1.7 -pkgrel=8.1 +pkgver=0.1.8 +pkgrel=1 pkgdesc="CorelDraw file format importer library for LibreOffice" arch=(x86_64 powerpc64le powerpc64 powerpc riscv64) url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr" -license=('GPL2' 'LGPL2.1' 'MPL') +# the only Public Domain source is src/lib/CDRColorProfiles.h +license=('MPL-2.0' 'LicenseRef-libcdr-Public-Domain') depends=('lcms2' 'icu' 'librevenge' 'zlib' 'gcc-libs' 'glibc') makedepends=('libwpg' 'boost' 'doxygen' 'cppunit') source=(https://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz) -sha256sums=('5666249d613466b9aa1e987ea4109c04365866e9277d80f6cd9663e86b8ecdd4') +sha256sums=('ced677c8300b29c91d3004bb1dddf0b99761bf5544991c26c2ee8f427e87193c') build() { cd $pkgname-$pkgver @@ -31,4 +32,7 @@ check() { package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install + + install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING.MPL "${pkgdir}/usr/share/licenses/${pkgname}/" }