diff options
author | Sukanka | 2021-02-11 20:00:51 +0800 |
---|---|---|
committer | Sukanka | 2021-02-11 20:00:51 +0800 |
commit | 9e2a01fed51de6ae4dca2c385eaa48faceb57649 (patch) | |
tree | 6eef553df11040123ce6974b557ede223de646c5 | |
parent | 26551c836f505dcd84db4141f55305dc686b0224 (diff) | |
download | aur-9e2a01fed51de6ae4dca2c385eaa48faceb57649.tar.gz |
fix dependencies
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 26 insertions, 28 deletions
@@ -1,22 +1,14 @@ pkgbase = eudic pkgdesc = Eudic, a proprietary dictionary software for linux pkgver = 12.5.0 - pkgrel = 1 + pkgrel = 2 url = https://www.eudic.net/v4/en/app/eudic arch = x86_64 license = unknown - depends = gtk3 - depends = libnotify - depends = nss - depends = libxss - depends = libxtst - depends = xdg-utils - depends = at-spi2-core - depends = util-linux-libs - depends = libappindicator-gtk3 - depends = libsecret - options = !strip - source = eudic-12.5.0.deb::https://www.eudic.net/download/eudic.deb?v=2021-02-06 + depends = hicolor-icon-theme + depends = qt5-speech + depends = qt5-webkit + source = eudic-12.5.0.deb::https://static.frdic.com/pkg/eudic.deb?v=2021-02-06 sha256sums = 20a2780110aa4024c3dd002415c6cc45b9ba61b209c8745baf2f2f861772b111 pkgname = eudic @@ -1,25 +1,20 @@ # Maintainer: yjun <jerrysteve1101 at gmail dot com> +# Maintainer: sukanka <su975853527 at gmail dot com> pkgname=eudic pkgver=12.5.0 _date=2021-02-06 -pkgrel=1 +pkgrel=2 pkgdesc="Eudic, a proprietary dictionary software for linux" arch=('x86_64') url="https://www.eudic.net/v4/en/app/eudic" license=('unknown') -depends=('gtk3' - 'libnotify' - 'nss' - 'libxss' - 'libxtst' - 'xdg-utils' - 'at-spi2-core' - 'util-linux-libs' - 'libappindicator-gtk3' - 'libsecret') -options=('!strip') -source=("${pkgname}-${pkgver}.deb::https://www.eudic.net/download/${pkgname}.deb?v=${_date}") +depends=( + 'hicolor-icon-theme' + 'qt5-speech' + 'qt5-webkit' + ) +source=("${pkgname}-${pkgver}.deb::https://static.frdic.com/pkg/eudic.deb?v=2021-02-06") sha256sums=('20a2780110aa4024c3dd002415c6cc45b9ba61b209c8745baf2f2f861772b111') prepare() { @@ -33,10 +28,21 @@ package() { cp -pvr build/usr/share/* ${pkgdir}/usr/share/ - # executable - install -Dm755 ${pkgdir}/usr/share/eusoft/AppRun ${pkgdir}/usr/bin/${pkgname} + # link executable + mkdir ${pkgdir}/usr/bin/ + ln -s /usr/share/eusoft/${pkgname} ${pkgdir}/usr/bin/${pkgname} # desktop enrty sed -i "s|/usr/share/eusoft/AppRun|${pkgname}|g" ${pkgdir}/usr/share/applications/${pkgname}.desktop + + # qt plugin path + sed -i '4c Prefix = /usr/lib/qt/' ${pkgdir}/usr/share/eusoft/qt.conf + + # remove unused files. + rm -rf ${pkgdir}/usr/share/eusoft/gstreamer-1.0/ + rm -rf ${pkgdir}/usr/share/eusoft/lib/ + rm -rf ${pkgdir}/usr/share/eusoft/plugins/ + rm -rf ${pkgdir}/usr/share/eusoft/*.so.* + rm -rf ${pkgdir}/usr/share/eusoft/appRun } # vim: ts=2 sw=2 et: |