Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/liborcus/PKGBUILD
blob: 0223daea4edc20d10a3cebb059085e56f30b6ca0 (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
26
27
28
29
30
# download location and packaging is a mess, fixing locally here as
# we have to do a rebuild of libreoffice..
source[0]="https://gitlab.com/orcus/orcus/-/archive/${pkgver}/liborcus-${pkgver}.tar.gz"
sha256sums[0]='b2c30fb24ddadfe9bc94ac5d55782e6137ba727e90f4c9420dab5fde0d51f661'
eval "$(
  declare -f build | \
    sed '
      s/cd .*/cd orcus-0.17.2-8865b88c8627953c1c4f371c3a582f58f233295d/
      /configure/ i \
      ./autogen.sh
    '
)"

eval "$(
  declare -f check | \
    sed '
      s/cd .*/cd orcus-0.17.2-8865b88c8627953c1c4f371c3a582f58f233295d/
    '
)"

eval "$(
  declare -f package | \
    sed '
      s/cd .*/cd orcus-0.17.2-8865b88c8627953c1c4f371c3a582f58f233295d/
    '
)"


# ignore tests (Python is broken)
unset check