summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5b53f03273d014bc7c9c91fcadd948765ed19475 (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
28
29
30
31
# Maintainer: Marcus Behrendt <marcus dot behrendt dot eightysix(in numbers) at bigbrothergoogle dot com

_pkgname=papirus-libreoffice-theme-git
pkgname=papirus-libreoffice-fresh-rpm-theme-git
pkgver=20170228
pkgrel=1
pkgdesc="Papirus theme for LibreOffice-Fresh RPM (git version)"
url="https://github.com/PapirusDevelopmentTeam/${_pkgname%-git}"
arch=('any')
license=('GPL')
depends=('libreoffice-fresh-rpm')
makedepends=('git')
conflicts=('papirus-libreoffice-theme' 'libreoffice-papirus-theme' 'libreoffice-papirus-theme-git')
options=('!strip')
source=("${_pkgname}::git+${url}.git")
sha256sums=('SKIP')

pkgver() {
    cd ${_pkgname}
    git log -1 --format="%cd" --date=short | tr -d '-'
}

package() {
  cd ${_pkgname}
  mkdir -p ${pkgdir}/opt/libreoffice5.3/share/config
  cp --no-preserve=mode,ownership -r \
    images_papirus.zip \
    images_papirus_dark.zip  \
    images_epapirus.zip \
    ${pkgdir}/opt/libreoffice5.2/share/config
}