summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d39f2e1cd88852be0bd1bbdfc3dd7e2ae15875d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Bjoern Franke <bjo+aur@schafweide.org>

pkgname=gajim-plugin-urlimagepreview
_pkgname=url_image_preview
pkgver=2.4.5
pkgrel=3
pkgdesc="Gajim plugin which displays a preview of links to images"
arch=(any)
url="https://dev.gajim.org/gajim/gajim-plugins/wikis/urlimagepreviewplugin"
license=('GPL')
depends=("gajim>=1.1.91" "gajim<=1.2.90" "python-setuptools" "python-cryptography" "python-pillow")
provides=('gajim-plugin-urlimagepreview')
source=("https://ftp.gajim.org/plugins_releases/${_pkgname}_${pkgver}.zip")
sha512sums=('7bfa5625ba3166dfa8f5c7d2d958815547142c9dd284686086f18310b981153aef0a00bdcac46d2ecee022b079ecdeec580b38a371ee40b9bd6a3f248c2a96bf')

package() {
  cd ${srcdir}/${_pkgname}

  # Install the plugin
  install -d ${pkgdir}/usr/lib/python3.9/site-packages/gajim/data/plugins/${_pkgname}
  cp -r * ${pkgdir}/usr/lib/python3.9/site-packages/gajim/data/plugins/${_pkgname}/
}

# vim:set ts=2 sw=2 et: