# Contributor: Xiao-Long Chen # Maintainer: Pablo Lezaeta pkgname=xubuntu-artwork pkgver=15.10.4 pkgrel=1 _uver=wily 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 plymouth theme to work" "lightdm-gtk-greeter: For LightDM GTK-3 Greeter theme to work" "shimmer-wallpapers: Wallpapers not included in the main package" "xfce-theme-albatross: Official theming, git or stable versions are ok" "xfce-theme-bluebird: Official theming, git or stable version are ok" "xfce-theme-greybird: Official theming, git or stable version are ok" "elementary-xfce-icons: For matching icon theme, or if you want use the git version" "libreoffice: For the new elementary icon style") source=("http://security.ubuntu.com/ubuntu/pool/universe/x/${pkgname}/${pkgname}_${pkgver}.tar.xz" "0001_Plymouth_dir.patch") prepare() { cd "${srcdir}/xubuntu-artwork" patch -p1 -i "${srcdir}/0001_Plymouth_dir.patch" } package() { cd "${srcdir}/xubuntu-artwork" make DESTDIR="${pkgdir}" prefix=/usr \ sbindir=/usr/bin bindir=/usr/bin \ libdir=/usr/lib libexecdir=/usr/lib } package() { cd "${srcdir}/xubuntu-artwork" make DESTDIR="${pkgdir}" install install -dm755 "${pkgdir}/usr/" msg2 "Install plymouth theme." mkdir -p "${pkgdir}/usr/share/" cp -av lib/plymouth/ "${pkgdir}/usr/share/" msg2 "Install the rest of the files." cp -av usr/share/ "${pkgdir}/usr/" 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=('0e1bf19add2d77190c744d8828e789e5' 'c9a1b1997abf7d43dda91bf7991ed42c')