diff options
author | soloturn | 2021-02-02 06:31:08 +0100 |
---|---|---|
committer | soloturn | 2021-02-02 06:31:08 +0100 |
commit | ba3f1b318338c4f25839126e85c054948bfc96fd (patch) | |
tree | a1d0b0cc3c4393e963fea7b3d48d6bb90b8a849d | |
parent | acd53713494021bd0527a89da7a16d17b6b02ab7 (diff) | |
download | aur-ba3f1b318338c4f25839126e85c054948bfc96fd.tar.gz |
not strip binaries, fanjiang contributor
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 9 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = swift-language-git pkgdesc = The Swift programming language, taken directly from the Apple repository - pkgver = swift.DEVELOPMENT.SNAPSHOT.2020.12.23.a.r21.g949b0c0cc36 + pkgver = swift.DEVELOPMENT.SNAPSHOT.2021.01.27.a.r1529.gd1c7a00cc8f pkgrel = 1 url = https://swift.org/ arch = x86_64 @@ -19,6 +19,7 @@ pkgbase = swift-language-git depends = libbsd depends = ncurses provides = swift-language + options = !strip source = git+https://github.com/apple/swift#branch=main source = cmark::git+https://github.com/apple/swift-cmark#branch=main source = llbuild::git+https://github.com/apple/swift-llbuild#branch=main @@ -2,9 +2,11 @@ # Contributor: Theo Tosini <theo.tosini@theoduino.me> # Contributor: Gábor Sebestyén <segabor@gmail.com> # Contributor: Andrew Sun <adsun701@gmail.com> +# Contributor: fanjiang <prof.fan@foxmail.com> + pkgname=swift-language-git -pkgver=swift.DEVELOPMENT.SNAPSHOT.2020.12.23.a.r21.g949b0c0cc36 +pkgver=swift.DEVELOPMENT.SNAPSHOT.2021.01.27.a.r1529.gd1c7a00cc8f pkgrel=1 pkgdesc="The Swift programming language, taken directly from the Apple repository" arch=('x86_64') @@ -65,12 +67,12 @@ md5sums=( ) -# By default makepkg runs strip on binaries. This seems to cause issues with the Swift REPL. -# Disable it in the PKGBUILD with: -# from https://github.com/RLovelett/swift-aur/blob/master/PKGBUILD, not sure if necessary +# By default makepkg runs strip on binaries. This causes issues with the Swift REPL. +# from https://github.com/RLovelett/swift-aur/blob/master/PKGBUILD # termux had no trouble up to now, strip all executables and shared objects: # https://github.com/termux/termux-packages/blob/master/scripts/build/termux_step_massage.sh#L24 -#options=(!strip) +# would be cool to not strip only the ones which really are necessary, but how? +options=(!strip) prepare () { ( cd swift && patch -p1 -i "$srcdir/0001-arch-aur-pachtes.patch" ) |