SHARE
TWEET

solarc-git PKGBUILD

a guest Jun 16th, 2019 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: zach <zach {at} zach-adams {dot} com>
  2. # Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de
  3.  
  4. pkgname=gtk-theme-solarc-git
  5. _pkgname=solarc-theme
  6. _pkgauthor=apheleia
  7. pkgver=817.3e68bc0
  8. pkgrel=2
  9. pkgdesc="A flat theme with transparent elements. Based on the Arc theme: https://github.com/horst3180/arc-theme"
  10. arch=('any')
  11. url="https://github.com/${_pkgauthor}/${_pkgname}"
  12. license=('GPL3')
  13. depends=('gtk3' 'gtk-engine-murrine')
  14. makedepends=('git' 'inkscape' 'sassc')
  15. source=(${_pkgname}::"git+https://github.com/${_pkgauthor}/${_pkgname}.git")
  16. sha256sums=('SKIP')
  17. conflicts=('gtk-theme-solarc')
  18. provides=('gtk-theme-solarc')
  19.  
  20. pkgver() {
  21.     cd "${srcdir}/${_pkgname}"
  22.     echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
  23. }
  24.  
  25. build() {
  26.     cd "${srcdir}/${_pkgname}"
  27.     ./solarize.sh
  28.     cd arc-theme-$(grep -e ARCVERSION= ${srcdir}/${_pkgname}/solarize.sh | cut -d '=' -f 2 | cut -d \" -f 2)
  29.     ./autogen.sh --prefix=/usr
  30. }
  31.  
  32. package() {
  33. #   export ${grep -e ARCVERSION= ${srcdir}/${_pkgname}/solarize.sh}
  34.     make -C "${srcdir}/${_pkgname}/arc-theme-$(grep -e ARCVERSION= ${srcdir}/${_pkgname}/solarize.sh | cut -d '=' -f 2 | cut -d \" -f 2)"  DESTDIR="${pkgdir}" install
  35. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top