summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 72bf5d6fe897ed3c99974bd72a8452fa998ab0ec (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
# Maintainer: Alif Rachmawadi <code@subosito.com>

pkgname=dropbox-light-icons-git
_pkgname=dropbox-light-icons
pkgver=20170312
pkgrel=1
pkgdesc="Dropbox light icons for dark panels"
arch=('any')
url="https://github.com/subosito/dropbox-light-icons"
license=('GPL')
depends=('hicolor-icon-theme' 'dropbox')
makedepends=('git')
conflicts=('dropbox-kfilebox-icons'
           'dropbox-plasma-light-icons-git'
           'dropbox-plasma-dark-icons-git')
source=(git://github.com/subosito/dropbox-light-icons.git)
md5sums=(SKIP)
install="dropbox-light-icons.install"

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

package(){
  install -d "${pkgdir}/usr/share/icons/hicolor/"
  cp -r ${srcdir}/${_pkgname}/icons/* "${pkgdir}/usr/share/icons/hicolor/"
}