summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3218494ed67ed047831d83e714acc58dc208ebf8 (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
# Maintainer: Marcus Behrendt <marcus dot behrendt dot eightysix(in numbers) at bigbrothergoogle dot com

pkgname=papirus-libreoffice-theme-git
pkgver=20161127
pkgrel=1
pkgdesc="Papirus theme for LibreOffice (git version)"
url="https://github.com/PapirusDevelopmentTeam/${pkgname%-git}"
arch=('any')
license=('GPL')
depends=('libreoffice')
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}/usr/share/libreoffice/share/config
  cp --no-preserve=mode,ownership -r images_papirus.zip images_papirus_dark.zip  ${pkgdir}/usr/share/libreoffice/share/config
}