summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 07c046ed8f5099cf16f6cea6fb4e8363e5e5c9bf (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
31
32
33
# Maintainer: now-im <now.im.627@gmail.com>

pkgname=('la-capitaine-icon-theme')
pkgver=0.6.0
pkgrel=1
pkgdesc="La Capitaine is an icon pack — designed to integrate with most desktop environments."
arch=('any')
url="https://github.com/keeferrourke/$pkgname"
license=('GPL3')
optdepends=('elementary-icon-theme' 'breeze-icons' 'gnome-icon-theme')
conflicts=('la-capitaine-icon-theme-git')
source=("https://github.com/keeferrourke/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('7126b24bb1d7b1d1cc9fd13c1b0cfd67e2bccbb9c20071240fe0d06f02c3c8b4')

prepare() {
  cd $pkgname-$pkgver

}

package() {
  install -dm 755 "${pkgdir}"/usr/share/icons
  cp -dr --no-preserve='ownership' $pkgname-$pkgver "${pkgdir}"/usr/share/icons/$pkgname-$pkgver

  find "${pkgdir}" -type d -exec chmod 755 {} +
  find "${pkgdir}" -type f -exec chmod 644 {} +
  find ${pkgdir}/usr -type f -name '.directory' -delete
  rm -rf "$pkgdir/usr/share/icons/$pkgname-$pkgver/.gitignore"
  rm -rf "$pkgdir/usr/share/icons/$pkgname-$pkgver/.git"
  rm -rf "$pkgdir/usr/share/icons/$pkgname-$pkgver/.github"
  rm -rf "$pkgdir/usr/share/icons/$pkgname-$pkgver/.product"
}

# vim: ts=2 sw=2 et: