summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9f51ffd966aa020066310917d80e767e949b8f5e (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: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>

pkgname=papirus-filezilla-themes-git
pkgver=20170310
pkgrel=1
pkgdesc="Papirus theme for Filezilla (git version)"
url="https://github.com/PapirusDevelopmentTeam/${pkgname%-git}"
arch=('any')
license=('GPL')
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,papirus-dark} $pkgdir/usr/share/filezilla/resources/
}