summaryrefslogtreecommitdiff
path: root/community/ponyc/PKGBUILD
blob: b3125418925c9dc0c76c2a86be5b23b12a39fb70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# It seems, compiling for i686 is as simple as specifying you want i686.

depends+=('openssl-1.0')
source+=('pony-ssl-1.0-compat.patch')
sha512sums+=('3256eba9398cc0f0a933d7e54321476d2847a95ca627571cc0911e758d3b29cf4c91d6dbe2a7c1905a8d8c0b1cb7472c5139c7df2bb6e0530c9c15d49f06ade4')

eval "$(
  declare -f build check | \
    sed '
      s|x86-64|i686|
      s|make |make default_pic=true|
    '
  declare -f prepare | \
    sed '
      /}/ i \
        patch -Np1 -i "$srcdir/pony-ssl-1.0-compat.patch"
    '
)"