summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a84f2df2213332a403d7a947bd1a89d170682b6 (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
# $Id$
# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>

pkgname=papirus-claws-mail-theme-git
pkgver=20180413
pkgrel=1
pkgdesc="Papirus theme for Claws Mail (git version)"
url="https://github.com/PapirusDevelopmentTeam/${pkgname%-git}"
arch=('any')
license=('LGPL3')
depends=('claws-mail')
makedepends=('git')
conflicts=('papirus-claws-mail-theme' 'claws-mail-papirus-theme' 'claws-mail-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}
  install -d "${pkgdir}"/usr/share/claws-mail/themes
  cp -a ./{ePapirus,Papirus{,-{Light,Dark,Adapta{,-Nokto}}}} \
      "${pkgdir}"/usr/share/claws-mail/themes/
}
# vim:set ts=2 sw=2 et: