You are not logged in.
Hey hello... ![]()
I'm working to make an AUR for a icon theme.
In PKGBUILD i don't get it to change the name.
When I installed it now in usr/share/icons it show as masalla-icon-theme.
I prefer to have it installed as Masalla in usr/share/icons
What do i have to change in the PKGBUILD to change this?
Thanks...
pkgname=masalla-icon-theme-git
_pkgname=masalla-icon-theme
pkgver=r.
pkgrel=1
pkgdesc="Latest flat design theme by Hayder Majid"
arch=('any')
url="https://github.com/hayderctee/masalla-icon-theme"
license=('GPL3')
depends=()
makedepends=('git')
optdepends=()
provides=('masalla-icon-theme-git')
conflicts=('masalla-icon-theme-git')
source=('git+https://github.com/hayderctee/masalla-icon-theme.git')
md5sums=('SKIP')
pkgver(){
cd ${_gitname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
install -d ${pkgdir}/usr/share/icons
cp -r ${srcdir}/${_gitname}/${_pkgname} ${pkgdir}/usr/share/icons/${_pkgname}
find ${pkgdir}/usr -type f -exec chmod 644 {} \;
find ${pkgdir}/usr -type d -exec chmod 755 {} \;
} Last edited by MichaelTiebesl (2015-11-05 02:02:25)
| Gitarist | Linux gebruiker | Sportliefhebber | Optimist | Dromer | Echtgenoot | Vader |
Offline
just copy the files to /usr/share/icons/Masalla, instead of /usr/share/icons/${_pkgname}
Offline
If you can't read the PKGBUILD script, your basic Linux commands need some work...
cp -r ${srcdir}/${_gitname}/${_pkgname} ${pkgdir}/usr/share/icons/${_pkgname}Offline
Thanks a lot both to point me in the right direction... ![]()
Last edited by MichaelTiebesl (2015-11-05 02:02:46)
| Gitarist | Linux gebruiker | Sportliefhebber | Optimist | Dromer | Echtgenoot | Vader |
Offline