diff options
author | Joey Sabey | 2019-09-06 03:50:14 +0100 |
---|---|---|
committer | Joey Sabey | 2019-09-06 03:50:14 +0100 |
commit | e82c9a8d00ec99a976fa9588e7ea3788fff83b2e (patch) | |
tree | 58a296b9059c8ac29cb8ca378bf2f57e49b91fe7 /PKGBUILD | |
parent | 5afe572579aceb95e9d82912290d5c17a470125a (diff) | |
download | aur-e82c9a8d00ec99a976fa9588e7ea3788fff83b2e.tar.gz |
Updated for new build method
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 18 insertions, 11 deletions
@@ -1,32 +1,39 @@ -# Maintainer: zach <zach {at} zach-adams {dot} com> +# Maintainer: Omnikron13 <joey.sabey@gmx.com> +# Contributor: zach <zach {at} zach-adams {dot} com> # Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de pkgname=gtk-theme-solarc-git _pkgname=solarc-theme -_pkgauthor=apheleia -pkgver=676.498f2bd +_pkgauthor=schemar +_gnomeversion=3.32 +pkgver=830.f55ce00 pkgrel=1 -pkgdesc="A flat theme with transparent elements. Based on the Arc theme: https://github.com/horst3180/arc-theme" +pkgdesc="A flat theme with transparent elements. Based on the Arc theme: https://github.com/NicoHood/arc-theme" arch=('any') url="https://github.com/${_pkgauthor}/${_pkgname}" license=('GPL3') depends=('gtk3' 'gtk-engine-murrine') -makedepends=('git') -source=(${_pkgname}::"git+https://github.com/${_pkgauthor}/${_pkgname}.git") +makedepends=('git' 'wget' 'inkscape' 'sassc' 'optipng') +source=("${_pkgname}::git+https://github.com/${_pkgauthor}/${_pkgname}.git") sha256sums=('SKIP') conflicts=('gtk-theme-solarc') provides=('gtk-theme-solarc') pkgver() { - cd "${srcdir}/${_pkgname}" - echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" + cd "${srcdir}/${_pkgname}" + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } build() { - cd "${srcdir}/${_pkgname}" - ./autogen.sh --prefix=/usr + cd "${srcdir}/${_pkgname}" + ./solarize.sh + export _arcdir=$(ls | grep "arc-theme-" | tail -1) + cd "${_arcdir}" + ./autogen.sh --prefix=/usr --with-gnome-shell=${_gnomeversion} + make } package() { - make -C "${srcdir}/${_pkgname}" DESTDIR="${pkgdir}" install + cd "${srcdir}/${_pkgname}/${_arcdir}" + make DESTDIR="${pkgdir}" install } |