diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 21 insertions, 16 deletions
@@ -1,32 +1,37 @@ # Maintainer: Raphael Scholer <rascholer@gmail.com> -# Contributor: mortzprk <mortz.prk@gmail.com> -# Contributor: Hugo Osvaldo Barrera <hugo@barrera.io> -# Contributor: Limao Luo <luolimao+AUR@gmail.com> -# Contributor: flan_suse <windows2linux@zoho.com> -# Contributor: auscompgeek <auscompgeek@zoho.com> _pkgname="elementary-xfce" pkgname="${_pkgname}-icons" -pkgver=0.12 +pkgver=0.13 pkgrel=1 -pkgdesc='Elementary icon theme with improved XFCE support' +pkgdesc='Elementary icon theme with improved Xfce support' arch=('any') url="https://github.com/shimmerproject/${_pkgname}" license=('GPL2') +makedepends=('gtk3') depends=('adwaita-icon-theme') conflicts=("${pkgname}-git") -options=(!strip) -source=("${url}/archive/${_pkgname}-${pkgver}.tar.gz") -sha256sums=('928f8e0e76357b94295e0a628b49a19a52bc00641bb06f7504cc68b8bc4d7452') +source=("${url}/archive/v${pkgver}.tar.gz") +sha256sums=('b660e5beb56b130df64ac5866bcfe569e43a169c85d7918e8120bbd23b8c4228') + +build() { + cd "${_pkgname}-${pkgver}" + + ./configure --prefix="/usr/" + make -j1 +} package() { - cd "${_pkgname}-${_pkgname}-${pkgver}" + cd "${_pkgname}-${pkgver}" - install -m 755 -d "${pkgdir}/usr/share/icons" - cp -r ${_pkgname}{,-dark{,er,est}} "${pkgdir}/usr/share/icons" + make DESTDIR="${pkgdir}" install - # Remove unneeded files - cd "${pkgdir}/usr/share/icons" - rm ${_pkgname}{,-dark{,er,est}}/{AUTHORS,CONTRIBUTORS,LICENSE} + # Remove unnecessary files. + find "${pkgdir}/usr/share/icons" \ + \( \ + -name 'AUTHORS' \ + -o -name 'CONTRIBUTORS' \ + -o -name 'LICENSE' \ + \) -delete } # vim:set ts=2 sw=2 et: |