diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | youdao-dict.install | 13 |
3 files changed, 21 insertions, 2 deletions
@@ -1,11 +1,14 @@ pkgbase = youdao-dict pkgdesc = YouDao Dictionary pkgver = 1.0.2 - pkgrel = 1 + pkgrel = 2 url = http://cidian.youdao.com/index-linux.html + install = youdao-dict.install arch = i686 arch = x86_64 license = GPL3 + depends = desktop-file-utils + depends = hicolor-icon-theme depends = python depends = python-pyqt5 depends = python-requests @@ -2,12 +2,14 @@ pkgname=youdao-dict pkgver=1.0.2 -pkgrel=1 +pkgrel=2 pkgdesc='YouDao Dictionary' arch=('i686' 'x86_64') url='http://cidian.youdao.com/index-linux.html' license=('GPL3') depends=( + 'desktop-file-utils' + 'hicolor-icon-theme' 'python' 'python-pyqt5' 'python-requests' @@ -21,6 +23,7 @@ depends=( 'python-webob' 'qt5-webkit' ) +install=youdao-dict.install source_i686=('http://codown.youdao.com/cidian/linux/youdao-dict_1.0.2~binary_i386.tar.gz') source_x86_64=('http://codown.youdao.com/cidian/linux/youdao-dict_1.0.2~binary_amd64.tar.gz') sha256sums_i686=('ecab295766c3d54e71ca48820b56a92c61810c77715dac1fb3883be1ede51130') diff --git a/youdao-dict.install b/youdao-dict.install new file mode 100644 index 000000000000..6a34363af250 --- /dev/null +++ b/youdao-dict.install @@ -0,0 +1,13 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + |