summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7069415892f45e726ba8955edb28f7437688190f (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
44
# Contributor: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
# Maintainer: Pablo Lezaeta <prflr88@gmail.com>

pkgname=xubuntu-artwork
pkgver=16.10.1
pkgrel=1
_uver=yakkety
pkgdesc="Xubuntu themes and artwork"
arch=("any")
url="https://launchpad.net/xubuntu-artwork"
license=("GPL")
#depends=("xfce-theme-albatross" "xfce-theme-bluebird" "xfce-theme-greybird" "shimmer-wallpapers")
makedepends=("zip")
optdepends=("plymouth: For the plymouth theme to work"
        "lightdm-gtk-greeter: For LightDM GTK Greeter theme to work"
        "shimmer-wallpapers: Wallpapers not included in the main package, or git version"
        "xfce-theme-albatross: Official theming, git or stable version"
        "xfce-theme-bluebird: Official theming, git or stable version"
        "xfce-theme-greybird: Official theming, git or stable version"
	"elementary-xfce-icons: For matching icon theme, or the git version")
source=("https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${pkgver}.tar.xz")

package() {
  #cd "${srcdir}/trunk"
  cd "${srcdir}/${_uver}"

  install -dm755 "${pkgdir}/usr/"

  msg2 "Install the rest of the files."
  cp -av usr/share/ "${pkgdir}/usr/share/"

  msg2 "Remove Elementary-Xfce bundled with this artwork, is hella outdated."
  rm -frv "${pkgdir}"/usr/share/icons

  msg2 "Move backdrops to a better place for Xfce 4.12+."
  mkdir -p "${pkgdir}/usr/share/backgrounds/xfce"
  mv -v "${pkgdir}"/usr/share/xfce4/backdrops/* "${pkgdir}"/usr/share/backgrounds/xfce

  msg2 "Remove redundant and empty files."
  rm -frv "${pkgdir}"/usr/share/xfce4/backdrops
}
# I use MD5 because is what "makepkg -g" give by default, blame Allan

md5sums=('bdfebe604126126a6222b5b25f45bd3c')