diff options
author | yjun | 2021-02-08 19:36:11 +0800 |
---|---|---|
committer | yjun | 2021-02-08 19:36:11 +0800 |
commit | 26551c836f505dcd84db4141f55305dc686b0224 (patch) | |
tree | 0f8b2840be9b0e4389edc3043523aca29425152d | |
download | aur-26551c836f505dcd84db4141f55305dc686b0224.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 42 |
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f6aa0dc380d9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = eudic + pkgdesc = Eudic, a proprietary dictionary software for linux + pkgver = 12.5.0 + pkgrel = 1 + 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 + sha256sums = 20a2780110aa4024c3dd002415c6cc45b9ba61b209c8745baf2f2f861772b111 + +pkgname = eudic + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7c0f76301297 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: yjun <jerrysteve1101 at gmail dot com> + +pkgname=eudic +pkgver=12.5.0 +_date=2021-02-06 +pkgrel=1 +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}") +sha256sums=('20a2780110aa4024c3dd002415c6cc45b9ba61b209c8745baf2f2f861772b111') + +prepare() { + mkdir -p build + + tar -xf data.tar.xz -C build +} + +package() { + install -dm755 ${pkgdir}/usr/share + + cp -pvr build/usr/share/* ${pkgdir}/usr/share/ + + # executable + install -Dm755 ${pkgdir}/usr/share/eusoft/AppRun ${pkgdir}/usr/bin/${pkgname} + + # desktop enrty + sed -i "s|/usr/share/eusoft/AppRun|${pkgname}|g" ${pkgdir}/usr/share/applications/${pkgname}.desktop +} +# vim: ts=2 sw=2 et: |