Skip to content

Instantly share code, notes, and snippets.

@Omnikron13 Omnikron13/PKGBUILD
Last active Aug 18, 2019

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

nariox commented Aug 14, 2019

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

@Omnikron13

This comment has been minimized.

Copy link
Owner Author

Omnikron13 commented Aug 18, 2019

Whoops. =P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.