diff options
author | Schala | 2017-02-13 16:07:47 -0800 |
---|---|---|
committer | Schala | 2017-02-13 16:07:47 -0800 |
commit | af8263296de4c2503265dd431020481666342424 (patch) | |
tree | 6e24a5f2becac7ffe91d01c90ed1bef1ad5bc9d9 | |
parent | cdb8edb1d2038e38d694f93758d7043eec6bfef2 (diff) | |
download | aur-af8263296de4c2503265dd431020481666342424.tar.gz |
remove symlinks, should work with wine
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 3 insertions, 9 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Tue Feb 14 00:03:14 UTC 2017 +# Tue Feb 14 00:07:29 UTC 2017 pkgbase = mingw-w64-kconfig pkgdesc = Configuration system (mingw-w64) pkgver = 5.31.0 - pkgrel = 1 + pkgrel = 2 url = https://projects.kde.org/projects/frameworks/kconfig arch = any groups = mingw-w64-kf5 @@ -12,8 +12,6 @@ pkgbase = mingw-w64-kconfig makedepends = mingw-w64-extra-cmake-modules makedepends = mingw-w64-qt5-tools depends = mingw-w64-qt5-base - optdepends = wine - optdepends = kconfig: needed for EXE workaround symlink options = staticlibs options = !strip options = !buildflags @@ -1,6 +1,6 @@ pkgname=mingw-w64-kconfig pkgver=5.31.0 -pkgrel=1 +pkgrel=2 arch=(any) pkgdesc="Configuration system (mingw-w64)" license=("LGPL") @@ -8,7 +8,6 @@ depends=(mingw-w64-qt5-base) groups=(mingw-w64-kf5) makedepends=(mingw-w64-cmake mingw-w64-extra-cmake-modules mingw-w64-qt5-tools) options=(staticlibs !strip !buildflags) -optdepends=(wine "kconfig: needed for EXE workaround symlink") url="https://projects.kde.org/projects/frameworks/kconfig" source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/kconfig-${pkgver}.tar.xz") md5sums=('f044848c2406fa1452b11780af2e1fea') @@ -34,10 +33,7 @@ package() { for _arch in ${_architectures}; do cd "${srcdir}/${pkgname#mingw-w64-}-$pkgver/build-${_arch}" make DESTDIR="$pkgdir" install - rm "$pkgdir/usr/${_arch}/bin/k"{read,write}"config5.exe" - rm "$pkgdir/usr/${_arch}/bin/kconfig_compiler_kf5.exe" find "$pkgdir/usr/${_arch}" -name '*.exe' -exec ${_arch}-strip {} \; - ln -s "/usr/bin/kconfig_compiler" "$pkgdir/usr/${_arch}/bin/kconfig_compiler_kf5.exe" find "$pkgdir/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \; find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs ${_arch}-strip -g done |