diff options
author | Mark Wagie | 2020-08-27 08:29:24 -0600 |
---|---|---|
committer | Mark Wagie | 2020-08-27 08:29:24 -0600 |
commit | 76dedef4902107557855eb66d404db2cb630e30f (patch) | |
tree | fe7b158da769343990587689bd664b22e7bec43d | |
parent | 4a5192e6d7949792d76f52444ac0d88a3597736f (diff) | |
download | aur-76dedef4902107557855eb66d404db2cb630e30f.tar.gz |
merge pkgbase
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 59 |
2 files changed, 69 insertions, 13 deletions
@@ -1,12 +1,27 @@ pkgbase = gtk-theme-framework - pkgdesc = Placeholder - pkgver = 0 - pkgrel = 0 + pkgdesc = GTK themes built with the GTK Theme Framework + pkgver = 0.2.1 + pkgrel = 1 url = https://github.com/jaxwilko/gtk-theme-framework arch = any license = GPL3 + makedepends = sassc + makedepends = inkscape + makedepends = optipng + depends = gtk3 + depends = gtk-engine-murrine + depends = gtk-engines conflicts = material-gtk-framework replaces = material-gtk-framework + options = !strip + source = gtk-theme-framework-0.2.1.tar.gz::https://github.com/jaxwilko/gtk-theme-framework/archive/v0.2.1.tar.gz + source = git+https://github.com/vinceliuice/vimix-icon-theme.git + sha256sums = 90fdab6c78b8cbb262cc9b99125a156bcdda1133f8d69a71d94b7ca6baae9fe9 + sha256sums = SKIP -pkgname = gtk-theme-framework +pkgname = palenight-gtk-theme + +pkgname = amarena-gtk-theme + +pkgname = gruvterial-gtk-theme @@ -1,16 +1,57 @@ # Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> -pkgname=gtk-theme-framework -#pkgbase=gtk-theme-framework -pkgver=0 -pkgrel=0 -pkgdesc="Placeholder" +pkgname=('palenight-gtk-theme' 'amarena-gtk-theme' 'gruvterial-gtk-theme') +pkgbase=gtk-theme-framework +pkgver=0.2.1 +pkgrel=1 +pkgdesc="GTK themes built with the GTK Theme Framework" arch=('any') url="https://github.com/jaxwilko/gtk-theme-framework" license=('GPL3') -depends=() -makedepends=() +depends=('gtk3' 'gtk-engine-murrine' 'gtk-engines') +makedepends=('sassc' 'inkscape' 'optipng') conflicts=('material-gtk-framework') replaces=('material-gtk-framework') -source=() -sha256sums=() +options=('!strip') +source=("$pkgbase-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" + 'git+https://github.com/vinceliuice/vimix-icon-theme.git') +sha256sums=('90fdab6c78b8cbb262cc9b99125a156bcdda1133f8d69a71d94b7ca6baae9fe9' + 'SKIP') +prepare() { + cd "$pkgbase-$pkgver" + if [[ ! -d src/icons/vimix-icon-theme ]]; then + ln -s "$srcdir/vimix-icon-theme" src/icons/vimix-icon-theme + fi +} + +build() { + cd "$pkgbase-$pkgver" + + # Remove precompiled assets + rm -rf dist + + ./main.sh -vcf + ./main.sh -t amarena -vcf + ./main.sh -t gruvterial -vcf +} + +package_palenight-gtk-theme() { + cd "$pkgbase-$pkgver" + install -d "$pkgdir"/usr/share/{icons,themes} + ./main.sh -v -id "$pkgdir/usr/share/themes" \ + -op "$pkgdir/usr/share/icons" +} + +package_amarena-gtk-theme() { + cd "$pkgbase-$pkgver" + install -d "$pkgdir"/usr/share/{icons,themes} + ./main.sh -t amarena -v -id "$pkgdir/usr/share/themes" \ + -op "$pkgdir/usr/share/icons" +} + +package_gruvterial-gtk-theme() { + cd "$pkgbase-$pkgver" + install -d "$pkgdir"/usr/share/{icons,themes} + ./main.sh -t gruvterial -v -id "$pkgdir/usr/share/themes" \ + -op "$pkgdir/usr/share/icons" +} |