summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bbbe88c9ba52b2036f472f2059347ce7e894153c (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
30
# Maintainer: Piotr Górski <lucjan.lucjanov@gmail.com>

pkgname=papirus-folders-git
pkgver=1.7.0.1.ge3df02d
pkgrel=1
pkgdesc="Allows to change the color of folders (git version)"
url="https://github.com/PapirusDevelopmentTeam/papirus-folders"
arch=('any')
license=('LGPL3')
depends=('papirus-icon-theme' 'inetutils')
makedepends=('git')
provides=("papirus-folders")
options=('!strip')
source=("$pkgname::git+https://github.com/PapirusDevelopmentTeam/papirus-folders.git"
        "papirus-folders.hook")
sha256sums=('SKIP'
            'b6f52cab4c7a42e85b7e3cc0160bb9cf060aed20ab78ee2135a3f18dcaf6e92c')

pkgver() {
  cd $pkgname
  git describe --long --tags | sed 's/^v//;s/-/./g'

}

package() {
  cd $pkgname
  make DESTDIR="${pkgdir}/" install
  
  install -Dm644 ../papirus-folders.hook "$pkgdir/usr/share/libalpm/hooks/papirus-folders.hook"  
}