Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/clementine/PKGBUILD
blob: 0fb1fc6dcc55529f66af4469fd2665c95f49ba25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# broken Github downloads (again)
source=("https://github.com/clementine-player/Clementine/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('2395efdef013aa65ec8b8521d549bf76dbde4f933867be3953f31553101ead63')

# of course the first level directory is different
eval "$(
  declare -f prepare | \
    sed '
      s|$pkgname-${pkgver//+/-}|Clementine-${pkgver}|g
    '
)"
eval "$(
  declare -f build | \
    sed '
      s|$pkgname-${pkgver//+/-}|Clementine-${pkgver}|g
    '
)"

# disable -Werror
eval "$(
  declare -f build | \
    sed '
      s|cmake -B build |cmake -B build -DBUILD_WERROR=OFF |
    '
)"