You are not logged in.

#1 2022-09-09 10:28:28

robson75
Member
From: Poland
Registered: 2020-06-28
Posts: 115

[SOLVED] PKGBUILD edition

Hello
I adapted PKGBUILD buuf-icon-theme and put the source on my Github, and everything only builds fine when I go to /usr/share/icons there is a Buuf-3.34 directory. And my question is how to edit PKGBUILD so that only the Buuf directory is created without pkgver.

Last edited by robson75 (2022-09-09 11:38:10)


Arch Linux Xfce+compiz - 64Bit Linux User #621110

Offline

#2 2022-09-09 11:22:27

dogknowsnx
Member
Registered: 2021-04-12
Posts: 366

Re: [SOLVED] PKGBUILD edition

# Maintainer: Robert Brzozowski <robson75@linux.pl>
# Maintainer: Lara Maia <dev@lara.click>
# co-Maintainer: Acidhub <contact@acidhub.click>
# co-Maintainer: bobi
# Contributer: Jean-Alexandre Anglès d'Auriac <jagw40k@free.fr>

pkgname=buuf-icon-theme
pkgdesc="Created by fana-m. Icons by mattahan. Modified by Hybrid Son Of Oxayotl"
pkgver=3.34
pkgrel=3
arch=('any')
url="http://buuficontheme.free.fr"
license=('cc-by-nc-sa')
depends=('hicolor-icon-theme')

source=("https://github.com/robson-66/Buuf/archive/refs/tags/v3.34.tar.gz")
sha256sums=('35bf7618c4e0731b6596834e7c6d3718012196c6c2c71b21336162d57a2b8159')

package() {
  mkdir -p "$pkgdir"/usr/share/icons/
  cp -rf "$srcdir"/Buuf*/ "$pkgdir"/usr/share/icons/Buuf/

  find $pkgdir/usr -type f -exec chmod 644 {} \;
  find $pkgdir/usr -type d -exec chmod 755 {} \;
  find $pkgdir/usr -type f -name '.directory' -delete
}

Wayland.

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

#3 2022-09-09 11:37:31

robson75
Member
From: Poland
Registered: 2020-06-28
Posts: 115

Re: [SOLVED] PKGBUILD edition

Thanks a lot, I didn't know it was that simple.


Arch Linux Xfce+compiz - 64Bit Linux User #621110

Offline

#4 2022-09-09 11:38:27

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,493

Re: [SOLVED] PKGBUILD edition

You can also replace the entirety of the package function with just a couple of install commands.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB