You are not logged in.

#1 2016-06-15 01:46:49

masoko
Member
From: Santa Fe, Argentina
Registered: 2015-09-22
Posts: 14

(SOLVED) PKGBUILD with local downloaded files

Hello there, amazing Arch friends, I'm trying to install "xfwm-axiom-theme" but the url inside the PKGBUILD it's pointing to an old url, how can I edit the PKGBUILD so that I can use the downloaded file? I'm using Packer and I'm stuck, thanks in advance.

Last edited by masoko (2016-06-15 18:27:39)

Offline

#2 2016-06-15 01:51:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: (SOLVED) PKGBUILD with local downloaded files

Just put the name of the file in the source array and run updpkgsums.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-06-15 08:05:18

mis
Member
Registered: 2016-03-16
Posts: 234

Re: (SOLVED) PKGBUILD with local downloaded files

masoko wrote:

I'm using Packer

I dont' know if Packer allows you to edit the PKGBUILD.
1) If so do what jasonwryan suggested. (or use the new url if available)
2) if not, download the PKGBUILD manually do 1) and run makepkg

Offline

#4 2016-06-15 09:30:21

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,395
Website

Re: (SOLVED) PKGBUILD with local downloaded files

You don't need to edit anything...  Just put the tarball in the same directory as the PKGBUILD.

Offline

#5 2016-06-15 18:26:56

masoko
Member
From: Santa Fe, Argentina
Registered: 2015-09-22
Posts: 14

Re: (SOLVED) PKGBUILD with local downloaded files

Thanks for all your advices!

[masoko@woronka182 Documents]$ packer -G xfwm-axiom-theme
[masoko@woronka182 Documents]$ cd xfwm-axiom-theme
[masoko@woronka182 xfwm-axiom-theme]$ updpkgsums
==> Retrieving sources...
  -> Found 90145-axiom.tar.gz
==> Generating checksums for source files...
[masoko@woronka182 xfwm-axiom-theme]$ mkpkg
bash: mkpkg: command not found
[masoko@woronka182 xfwm-axiom-theme]$ ls
90145-axiom.tar.gz  PKGBUILD
[masoko@woronka182 xfwm-axiom-theme]$ makepkg
==> Making package: xfwm-axiom-theme 1-1 (Wed Jun 15 15:25:32 UTC 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found 90145-axiom.tar.gz
==> Validating source files with md5sums...
    90145-axiom.tar.gz ... Passed
==> Extracting sources...
  -> Extracting 90145-axiom.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "xfwm-axiom-theme"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: xfwm-axiom-theme 1-1 (Wed Jun 15 15:25:33 UTC 2016)

Offline

Board footer

Powered by FluxBB