summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5795957a63fe05a6ea9a15ce0c4483dc118e7c9d (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.1
pkgrel=2
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=('9adb3123bf61464696400af43000b61de1825d2ce4b4ad4f21dd78091bd55e73')

prepare() {
  cd $pkgname-$pkgver

}

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

  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/la-capitaine/.gitignore"
  rm -rf "$pkgdir/usr/share/icons/la-capitaine/.git"
  rm -rf "$pkgdir/usr/share/icons/la-capitaine/.github"
  rm -rf "$pkgdir/usr/share/icons/la-capitaine/.product"
}

# vim: ts=2 sw=2 et: