diff options
author | zxp19821005 | 2023-05-17 17:17:37 +0800 |
---|---|---|
committer | zxp19821005 | 2023-05-17 17:17:37 +0800 |
commit | e52cbf68143a8b2ee5168fd7ae44dab768f5c4d5 (patch) | |
tree | d5fbfae7599d3fbf63f5eca69d6c5b2ab8260157 /PKGBUILD | |
download | aur-e52cbf68143a8b2ee5168fd7ae44dab768f5c4d5.tar.gz |
first release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ac61e8fe6e6c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: zxp19821005 <zxp19821005 at 163 dot com> +pkgname=dicionario.js-bin +pkgver=2.1.2 +pkgrel=1 +pkgdesc="Simple dictionary in which you record your own words." +arch=('x86_64') +url="https://github.com/ArthurLobopro/dicionario.js" +license=('MIT') +conflicts=("${pkgname%-bin}" "${pkgname%-ng-bin}") +depends=('nss' 'nodejs' 'nspr' 'gtk3' 'glibc' 'alsa-lib' 'libxcomposite' 'mesa' 'libxrandr' 'cairo' 'libxcb' 'at-spi2-core' \ + 'pango' 'libxext' 'gcc-libs' 'libx11' 'libxfixes' 'libxkbcommon' 'glib2' 'libxdamage' 'libdrm' 'dbus' 'libcups' 'expat') +makedepends=('gendesk') +options=(!strip) +noextract=("${pkgname%-bin}-${pkgver}.zip") +source=("${pkgname%-bin}-${pkgver}.deb::${url}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_amd64.deb" + "LICENSE::https://raw.githubusercontent.com/ArthurLobopro/dicionario.js/main/LICENSE") +sha256sums=('01b4fd9d89a656a7c97bbb18f598aea6a86724cadbfce17a33ab0e50a263c481' + 'c898d2875697b8ed803b6f18c641a194614b29c26c638eb8135398bc80255e26') + +package() { + bsdtar -xf "${srcdir}/data.tar.zst" -C "${pkgdir}" + install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" + chmod 0755 "${pkgdir}/usr/lib/${pkgname%-bin}/chrome-sandbox" +}
\ No newline at end of file |