Last active
August 18, 2019 15:06
-
-
Save Omnikron13/19c53ecc05e07fcd6763f0d0d1a008bb to your computer and use it in GitHub Desktop.
SolArc-Theme PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Joey Sabey <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=schemar | |
_gnomeversion=3.32 | |
pkgver=817.3e68bc0 | |
pkgrel=1 | |
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' '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)" | |
} | |
build() { | |
cd "${srcdir}/${_pkgname}" | |
./solarize.sh | |
export _arcversion=$(ls | grep arc-theme- | tail -1) | |
cd ${_arcversion} | |
./autogen.sh --prefix=/usr --with-gnome-shell=${_gnomeversion} | |
} | |
package() { | |
make -C ${srcdir}/${_pkgname}/${_arcversion} DESTDIR="${pkgdir}" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's a typo in the filename (PKBGUILD -> PKGBUILD)