You are not logged in.
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)
Offline
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)
Offline
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
Offline