Do not override provides, instead append

This commit is contained in:
Christopher Arndt 2022-07-23 18:19:38 +02:00
parent 0542b3d1ce
commit c24540678c
2 changed files with 6 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = serd-git
pkgdesc = Lightweight C library for RDF syntax supporting reading / writing Turtle and NTriples (git version)
pkgver = 0.30.15.r1032.14f422f6
pkgrel = 1
pkgrel = 2
url = http://drobilla.net/software/serd/
arch = i686
arch = x86_64
@ -20,4 +20,7 @@ pkgbase = serd-git
sha256sums = SKIP
pkgname = serd-git
provides = serd
provides = serd=0.30.15
provides = serd-docs
provides = libserd-0.so

View file

@ -3,7 +3,7 @@
_pkgname=serd
pkgname=$_pkgname-git
pkgver=0.30.15.r1032.14f422f6
pkgrel=1
pkgrel=2
pkgdesc='Lightweight C library for RDF syntax supporting reading / writing Turtle and NTriples (git version)'
arch=(i686 x86_64)
url='http://drobilla.net/software/serd/'
@ -32,7 +32,7 @@ check() {
}
package() {
provides=(libserd-0.so)
provides+=(libserd-0.so)
meson install -C $_pkgname-build --destdir "$pkgdir"
mv -v "$pkgdir"/usr/share/doc/{serd-0,$pkgname}
install -vDm 644 $_pkgname/COPYING -t "$pkgdir"/usr/share/licenses/$pkgname