Add 'libserd-0.so' to provides (same as non-git package, required by other packages)

Remove .install file
This commit is contained in:
Christopher Arndt 2019-11-14 05:58:24 +01:00
parent 11713c35db
commit 179533875c
3 changed files with 10 additions and 18 deletions

View file

@ -1,16 +1,16 @@
pkgbase = serd-git pkgbase = serd-git
pkgdesc = Lightweight C library for RDF syntax supporting reading / writing Turtle and NTriples (git version) pkgdesc = Lightweight C library for RDF syntax supporting reading / writing Turtle and NTriples (git version)
pkgver = 0.30.1.r766.234ff6f pkgver = 0.30.2.r784.41a5903
pkgrel = 1 pkgrel = 1
url = http://drobilla.net/software/serd/ url = http://drobilla.net/software/serd/
install = serd.install
arch = i686 arch = i686
arch = x86_64 arch = x86_64
license = custom:ISC license = custom:ISC
makedepends = git makedepends = git
makedepends = python makedepends = python
provides = serd provides = serd
provides = serd=0.30.1 provides = serd=0.30.2
provides = libserd-.so
conflicts = serd conflicts = serd
conflicts = serd-svn conflicts = serd-svn
source = serd::git+https://gitlab.com/drobilla/serd.git source = serd::git+https://gitlab.com/drobilla/serd.git

View file

@ -2,7 +2,7 @@
_pkgname=serd _pkgname=serd
pkgname="${_pkgname}-git" pkgname="${_pkgname}-git"
pkgver=0.30.1.r766.234ff6f pkgver=0.30.2.r784.41a5903
pkgrel=1 pkgrel=1
pkgdesc="Lightweight C library for RDF syntax supporting reading / writing Turtle and NTriples (git version)" pkgdesc="Lightweight C library for RDF syntax supporting reading / writing Turtle and NTriples (git version)"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
@ -10,11 +10,11 @@ url="http://drobilla.net/software/serd/"
license=('custom:ISC') license=('custom:ISC')
makedepends=('git' 'python') makedepends=('git' 'python')
conflicts=("${_pkgname}" "${_pkgname}-svn") conflicts=("${_pkgname}" "${_pkgname}-svn")
provides=("${_pkgname}" "${_pkgname}=${pkgver//.r*/}") provides=("${_pkgname}" "${_pkgname}=${pkgver//.r*/}" "lib${_pkgname}-${pkver::1}.so")
install="${_pkgname}.install"
source=("$_pkgname::git+https://gitlab.com/drobilla/serd.git" source=("$_pkgname::git+https://gitlab.com/drobilla/serd.git"
'autowaf::git+https://gitlab.com/drobilla/autowaf.git') 'autowaf::git+https://gitlab.com/drobilla/autowaf.git')
md5sums=('SKIP' 'SKIP') md5sums=('SKIP'
'SKIP')
pkgver() { pkgver() {
@ -30,6 +30,9 @@ prepare() {
git submodule init git submodule init
git config submodule.waflib.url "${srcdir}/autowaf" git config submodule.waflib.url "${srcdir}/autowaf"
git submodule update git submodule update
# remove call to local ldconfig
sed -i "/ldconfig/d" wscript
} }
build() { build() {

View file

@ -1,11 +0,0 @@
post_install() {
ldconfig
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}