Skip to content

Instantly share code, notes, and snippets.

@Omnikron13
Last active August 18, 2019 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Omnikron13/19c53ecc05e07fcd6763f0d0d1a008bb to your computer and use it in GitHub Desktop.
Save Omnikron13/19c53ecc05e07fcd6763f0d0d1a008bb to your computer and use it in GitHub Desktop.
SolArc-Theme PKGBUILD
# 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
}
@nariox
Copy link

nariox commented Aug 14, 2019

There's a typo in the filename (PKBGUILD -> PKGBUILD)

@Omnikron13
Copy link
Author

Whoops. =P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment