summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d2f417de2bb598f0ddff467e9891e442c456a33 (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-filezilla-themes-git
pkgver=20180413
pkgrel=1
pkgdesc="Papirus theme for Filezilla (git version)"
url="https://github.com/PapirusDevelopmentTeam/${pkgname%-git}"
arch=('any')
license=('LGPL3')
depends=('filezilla')
makedepends=('git')
conflicts=('papirus-filezilla-theme' 'filezilla-papirus-theme' 'filezilla-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/filezilla/resources
  cp -a ./{epapirus,papirus{,-{dark,adapta{,-nokto}}}} \
      "${pkgdir}"/usr/share/filezilla/resources/
}
# vim:set ts=2 sw=2 et: