summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1edcd47078e9f7dd7e97ed4a59d00b44a0e4ad68 (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
34
35
36
37
38
39
40
41
42
43
# Maintainer: Jhon Diaz <electimon@gmail.com>

pkgname=ubuntu-kylin-theme
pkgver=1.7.9.2
pkgrel=1.2
pkgdesc="The official theme for Ubuntu Kylin"
arch=('any')
url="https://launchpad.net/ubuntukylin-theme"
license=('custom:GPL3')
depends=('gnome-icon-theme' 'hicolor-icon-theme' 'ttf-droid') # 'ubuntu-mono')
#makedepends=('')
optdepends=('plymouth: Contrain a theme for this login splash screen'
	'grub: Contain a theme for this bootloader manager'
	'chinese-calendar: Official calendary for Ubuntu Kylin'
	'fcitx: Contain 4 themes for the Qimpanel version')
source=("https://launchpad.net/ubuntu/+archive/primary/+files/ubuntukylin-theme_$pkgver.tar.xz")
sha256sums=('60adf558ca9d3407f9d57d188acb2cdd8cee51fab0464d769a49887b9027858b')

package() {
  cd "ubuntukylin-theme-${pkgver}"

  mkdir -p "${pkgdir}/usr/share/"  
  cp -rv --no-preserve=ownership usr/share/plymouth "${pkgdir}/usr/share/"

  mkdir -p "${pkgdir}/usr/share/fcitx/"
  cp -rv --no-preserve=ownership usr/share/fcitx-qimpanel/* "${pkgdir}/usr/share/fcitx/"

  mkdir -p "${pkgdir}/usr/share/icons/"
  cp -rv --no-preserve=ownership ukui-icon-theme "${pkgdir}/usr/share/icons/"

  mkdir -p "${pkgdir}/usr/share/themes/"
  cp -rv --no-preserve=ownership ukui-theme "${pkgdir}/usr/share/themes/"

  mkdir -p "${pkgdir}/usr/share/grub/themes/"
  cp -rv --no-preserve=ownership ubuntukylin-grub-theme "${pkgdir}/usr/share/grub/themes/"

  mkdir -p "${pkgdir}/usr/share/glib-2.0/schemas/"
  cp -rv --no-preserve=ownership debian/25_ubuntukylin-theme.gschema.override "${pkgdir}/usr/share/glib-2.0/schemas/"

  mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
  cp -rv --no-preserve=ownership debian/copyright "${pkgdir}/usr/share/licenses/${pkgname}/"
}