diff options
author | zxp19821005 | 2023-08-11 15:34:48 +0800 |
---|---|---|
committer | zxp19821005 | 2023-08-11 15:34:48 +0800 |
commit | 7f18b33de7506aca0d80e96113a9fe477cf8b36f (patch) | |
tree | 49bb8b52402c08d797f11ef25cff09b2b0740f49 | |
parent | 97add867f46cd9a0ce3a74b55e846fc75c9a5534 (diff) | |
download | aur-7f18b33de7506aca0d80e96113a9fe477cf8b36f.tar.gz |
fix errors
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = eusoft-eudic-bin pkgdesc = 权威的英语词典软件,英语学习者必备的工具,支持学习笔记、生词本多平台同步,让你随时随地学英语. pkgver = 13.2.7 - pkgrel = 1 + pkgrel = 2 url = https://www.eudic.net/v4/en/app/eudic arch = x86_64 license = custom @@ -63,11 +63,9 @@ pkgbase = eusoft-eudic-bin depends = taglib depends = libiec61883 depends = libp11-kit - provides = eusoft-eudic - provides = eudic + provides = eudic=13.2.7 conflicts = eusoft-eudic conflicts = eudic - options = !strip source = eusoft-eudic-13.2.7.deb::https://static-main.frdic.com/pkg/eudic.deb?v=2023-06-06 source = LICENSE.html sha256sums = 8e992161c4eb206cf9fda39772f5e2ec3cd1d11d344e3666f3f890e1ee330ba9 @@ -2,14 +2,13 @@ _appname=eudic pkgname="eusoft-${_appname}-bin" pkgver=13.2.7 -pkgrel=1 +pkgrel=2 pkgdesc="权威的英语词典软件,英语学习者必备的工具,支持学习笔记、生词本多平台同步,让你随时随地学英语." arch=('x86_64') url="https://www.eudic.net/v4/en/app/eudic" license=('custom') +provides=("${_appname}=${pkgver}") conflicts=("${pkgname%-bin}" "${_appname}") -provides=("${pkgname%-bin}" "${_appname}") -options=('!strip') depends=('zlib' 'glibc' 'bzip2' 'gcc-libs' 'libraw1394' 'libxv' 'speex' 'util-linux-libs' 'libjpeg-turbo' 'cairo' 'cdparanoia' 'libpulse' \ 'libvorbis' 'pango' 'opus' 'libx11' 'libavc1394' 'orc' 'clutter-gst' 'gst-plugins-base-libs' 'mpg123' 'gdk-pixbuf2' 'libdv' 'expat' 'bash' \ 'freetype2' 'libxcb' 'clutter' 'gst-plugins-bad-libs' 'v4l-utils' 'harfbuzz' 'libgpg-error' 'libpng' 'libxdamage' 'libdrm' 'libxext' \ @@ -21,7 +20,7 @@ sha256sums=('8e992161c4eb206cf9fda39772f5e2ec3cd1d11d344e3666f3f890e1ee330ba9' '8254fc6f96e7362405da60a8ece9d86ad26066b5edac10e775aca4e6d7c0979f') package() { bsdtar -xf "${srcdir}/data.tar.xz" - install -Dm755 -d "${pkgdir}/opt/${pkgname%-bin}" + 1install -Dm755 -d "${pkgdir}/opt/${pkgname%-bin}" cp -r "${srcdir}/usr/share/${pkgname%-bin}/"* "${pkgdir}/opt/${pkgname%-bin}" sed "s|/usr/share|/opt|g;s|com.eusoft.${_appname}|${pkgname%-bin}|g" -i "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop" install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications" |