Use merged meson test fix commit for spot-client
This commit is contained in:
parent
45196dbc81
commit
c1a7888bf9
6
.SRCINFO
6
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = spot-client-git
|
pkgbase = spot-client-git
|
||||||
pkgdesc = Gtk/Rust native Spotify client - git version
|
pkgdesc = Gtk/Rust native Spotify client - git version
|
||||||
pkgver = 0.1.10.r0.g1d361b1
|
pkgver = 0.1.10.r1.g2dc7225
|
||||||
pkgrel = 3
|
pkgrel = 1
|
||||||
url = https://github.com/xou816/spot
|
url = https://github.com/xou816/spot
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
arch = i686
|
arch = i686
|
||||||
|
@ -24,8 +24,6 @@ pkgbase = spot-client-git
|
||||||
provides = spot-client
|
provides = spot-client
|
||||||
conflicts = spot-client
|
conflicts = spot-client
|
||||||
source = spot-client-git::git+https://github.com/xou816/spot
|
source = spot-client-git::git+https://github.com/xou816/spot
|
||||||
source = meson-test-release.diff
|
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
sha256sums = 4366433646f05f74cb9cdc23079ad37655e06589cd28ecd3cd156223ff213a95
|
|
||||||
|
|
||||||
pkgname = spot-client-git
|
pkgname = spot-client-git
|
||||||
|
|
17
PKGBUILD
17
PKGBUILD
|
@ -1,8 +1,8 @@
|
||||||
# Maintainer: Daniel Peukert <daniel@peukert.cc>
|
# Maintainer: Daniel Peukert <daniel@peukert.cc>
|
||||||
_projectname='spot'
|
_projectname='spot'
|
||||||
pkgname="$_projectname-client-git"
|
pkgname="$_projectname-client-git"
|
||||||
pkgver='0.1.10.r0.g1d361b1'
|
pkgver='0.1.10.r1.g2dc7225'
|
||||||
pkgrel='3'
|
pkgrel='1'
|
||||||
pkgdesc='Gtk/Rust native Spotify client - git version'
|
pkgdesc='Gtk/Rust native Spotify client - git version'
|
||||||
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
||||||
url="https://github.com/xou816/$_projectname"
|
url="https://github.com/xou816/$_projectname"
|
||||||
|
@ -13,21 +13,12 @@ makedepends=('cargo' 'git' 'meson>=0.50.0')
|
||||||
checkdepends=('appstream-glib')
|
checkdepends=('appstream-glib')
|
||||||
provides=("$_projectname-client")
|
provides=("$_projectname-client")
|
||||||
conflicts=("$_projectname-client")
|
conflicts=("$_projectname-client")
|
||||||
source=(
|
source=("$pkgname::git+$url")
|
||||||
"$pkgname::git+$url"
|
sha256sums=('SKIP')
|
||||||
'meson-test-release.diff'
|
|
||||||
)
|
|
||||||
sha256sums=('SKIP'
|
|
||||||
'4366433646f05f74cb9cdc23079ad37655e06589cd28ecd3cd156223ff213a95')
|
|
||||||
|
|
||||||
_sourcedirectory="$pkgname"
|
_sourcedirectory="$pkgname"
|
||||||
_builddirectory='build'
|
_builddirectory='build'
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd "$srcdir/$_sourcedirectory/"
|
|
||||||
patch --forward -p1 < '../meson-test-release.diff'
|
|
||||||
}
|
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$srcdir/$_sourcedirectory/"
|
cd "$srcdir/$_sourcedirectory/"
|
||||||
git describe --long --tags | sed -e 's/^v//' -e 's/-\([^-]*-g[^-]*\)$/-r\1/' -e 's/-/./g'
|
git describe --long --tags | sed -e 's/^v//' -e 's/-\([^-]*-g[^-]*\)$/-r\1/' -e 's/-/./g'
|
||||||
|
|
Loading…
Reference in a new issue