You are not logged in.

#1 2015-05-31 16:58:19

VanillaFunk
Member
From: MA. USA
Registered: 2013-06-10
Posts: 396
Website

[Solved] github gtk themes

I am trying to make a PKGBUILD for some gtk themes from my github... I have a couple issues
repo -- https://github.com/dreemsoul/gtk-themes

1) the themes are in a .themes folder ... do i need to rebuild the repo or can i copy the data out and put it in a package to be put in the root-fs

2) I am not good at PKGBUILD yet and not sure if there is a way to split the repo to only install a few of these in one package or if again i need to make a new repo

thanks for reading this.

Last edited by VanillaFunk (2015-05-31 19:17:40)


archx86_64 : awesomewm
https://github.com/dreemsoul

Remeber to feed the squirrels

Offline

#2 2015-05-31 19:09:05

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: [Solved] github gtk themes

There's no point in rebuilding the repo only for renaming the folder. I didn't understand what you are trying to do, but if you want to create a different package for each theme, then you can create a split package... something like the following:

# Maintainer: Your Name <youremail@domain.com>

pkgbase="dreemsoul-gtk-themes-git"
pkgname=('dreemsoul-gtk-acou-git' 'dreemsoul-gtk-boxtrot-git')
pkgver=r6.82b3efe
pkgrel=1
arch=('i686' 'x86_64')
url=''
license=('')
makedepends=('git')

source=("${pkgbase}::git://github.com/dreemsoul/gtk-themes.git")
sha256sums=('SKIP')

pkgver()
{
    cd "$srcdir/${pkgbase}"
    # NOTE: if you use a git tag for versions name, then you
    #       can use the following line
    #git describe --tags | sed -E 's|([^-]*-g)|r\1|;s|-|.|g;s|v||g'

    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package_dreemsoul-gtk-acou-git()
{
  pkgdesc='acou theme description goes here'
  cd "${srcdir}/${pkgbase}/.themes/acou"

  # TODO: write packaging instruction here
}

package_dreemsoul-gtk-boxtrot-git()
{
  pkgdesc='boxtrot theme description goes here'
  cd "${srcdir}/${pkgbase}/.themes/boxtrot"

  # TODO: write packaging instruction here
}

Last edited by mauritiusdadd (2015-05-31 19:10:21)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#3 2015-05-31 19:17:21

VanillaFunk
Member
From: MA. USA
Registered: 2013-06-10
Posts: 396
Website

Re: [Solved] github gtk themes

earnestly on IRC helped me out here is a link to the packages and also a link to some images of them

Packages -- https://aur.archlinux.org/packages/?SeB … rning_star

Images ( at bottom of thread ) -- https://bbs.linuxdistrocommunity.com/di … eme#latest


archx86_64 : awesomewm
https://github.com/dreemsoul

Remeber to feed the squirrels

Offline

Board footer

Powered by FluxBB