summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 625e4327eba29430f84617ed3713bc5abcc279e1 (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
25
26
27
# Maintainer: Bart De Vries <bart at mogwai dot be>

pkgname=roundcubemail-plugin-tinymce-config-git
pkgver=3.5.4.r0.ga99d2b61
pkgrel=1
pkgdesc='Roundcube plugin to change paragraph breaks to line breaks in roundcube compose editor'
arch=('any')
url='https://git.kolab.org/'
license=('AGPL3')
makedepends=("git")
depends=('roundcubemail')
source=("${pkgname}::git+https://git.kolab.org/diffusion/RPK/roundcubemail-plugins-kolab.git")
sha256sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed 's/roundcubemail.plugins.kolab.//'
}

package() {
  _instdir="${pkgdir}"/usr/share/webapps/roundcubemail/plugins/tinymce_config
  install -dm755 "${_instdir}"
  cd "${srcdir}/${pkgname}/plugins/tinymce_config"
  install -m644 composer.json "${_instdir}"
  install -m644 tinymce_config.php "${_instdir}"
}