You are not logged in.

#1 2014-07-15 21:59:32

heyitstallchris
Member
Registered: 2013-10-01
Posts: 23

[SOLVED]Installing from AUR dockbarx-shinybar-theme makepkg error

 dockbarx-shinybar-theme]$ makepkg
==> Making package: dockbarx-shinybar-theme 1.3.1-2 (Tue Jul 15 17:33:07 EDT 2014)
==> WARNING: Using a PKGBUILD without a package() function is deprecated.
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found Shinybar1_3_for_DockbarX_by_Levviathor.gz
==> Validating source files with md5sums...
    Shinybar1_3_for_DockbarX_by_Levviathor.gz ... Passed
==> Extracting sources...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
/home/itstallchris/Downloads/AUR-User-Install/dockbarx-shinybar-theme/PKGBUILD: line 16: cd: /home/itstallchris/Downloads/AUR-User-Install/dockbarx-shinybar-theme/src/Shinybar1.3.1_deviantart: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...

PKGBUILD

dockbarx-shinybar-theme]$ cat PKGBUILD
# Contributor: twa022 <twa022@gmail.com>

pkgname=dockbarx-shinybar-theme
pkgver=1.3.1
pkgrel=2
pkgdesc="Windows 7-like theme for DockBarX"
arch=('any')
url="http://levviathor.deviantart.com/art/Shinybar1-3-for-DockbarX-135875506"
license=('cc-by-sa')
depends=('dockbarx')
groups=('dockbarx-themes')
source=('http://www.deviantart.com/download/135875506/Shinybar1_3_for_DockbarX_by_Levviathor.gz')
DLAGENTS=('http::/usr/bin/wget -c -t 3 --waitretry=3 -H -U Mozilla -O %o %u')

build () {
  cd ${srcdir}/Shinybar${pkgver}_deviantart

  mkdir -p ${pkgdir}/usr/share/dockbarx/themes
  install -Dm644 shinybar_13_horiz.tar.gz ${pkgdir}/usr/share/dockbarx/themes/
  install -Dm644 shinybar_13_vert.tar.gz ${pkgdir}/usr/share/dockbarx/themes/
  install -Dm644 README_shinybar.txt ${pkgdir}/usr/share/dockbarx/
}

md5sums=('387ad43ff48ea410b42dfe07648c3132')

I have already updated checksums with

$ updpkgsums

I've found https://bbs.archlinux.org/viewtopic.php?id=82790 says something about CDPATH= makepkg
Is this my solution? If so, how do I implement?

Last edited by heyitstallchris (2014-07-15 23:27:23)

Offline

#2 2014-07-15 22:24:48

loqs
Member
Registered: 2014-03-06
Posts: 18,859

Re: [SOLVED]Installing from AUR dockbarx-shinybar-theme makepkg error

That checksum matches up with the contents of this redirect

<html><head><title>Redirection</title></head><body><script type="text/javascript">window.location.href="http:\/\/levviathor.deviantart.com\/art\/Shinybar1-3-1-for-DockbarX-135875506"</script><noscript><a href="http://levviathor.deviantart.com/art/Shinybar1-3-1-for-DockbarX-135875506">Click here to continue.</a></noscript></body></html>

edit:
Made first sentence legible

Last edited by loqs (2014-07-15 22:27:18)

Offline

#3 2014-07-15 22:25:32

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Installing from AUR dockbarx-shinybar-theme makepkg error

Go to http://levviathor.deviantart.com/art/Sh … -135875506 , download the zip file and unzip it in the src directory you use for building the package.
Comment out the 'source' line in the PKGBUILD.


Edit: Oh yes, what's the output of

file Shinybar1_3_for_DockbarX_by_Levviathor.gz

I don't think it's a gz file :-)

Last edited by karol (2014-07-15 22:27:11)

Offline

#4 2014-07-15 22:49:24

heyitstallchris
Member
Registered: 2013-10-01
Posts: 23

Re: [SOLVED]Installing from AUR dockbarx-shinybar-theme makepkg error

loqs wrote:

That checksum matches up with the contents of this redirect

<html><head><title>Redirection</title></head><body><script type="text/javascript">window.location.href="http:\/\/levviathor.deviantart.com\/art\/Shinybar1-3-1-for-DockbarX-135875506"</script><noscript><a href="http://levviathor.deviantart.com/art/Shinybar1-3-1-for-DockbarX-135875506">Click here to continue.</a></noscript></body></html>

Translation for Newbie Corner?

karol wrote:

Edit: Oh yes, what's the output of

file Shinybar1_3_for_DockbarX_by_Levviathor.gz

I don't think it's a gz file :-)

It's not, it's a gzip archive.

karol wrote:

Go to http://levviathor.deviantart.com/art/Sh … -135875506 , download the zip file and unzip it in the src directory you use for building the package.
Comment out the 'source' line in the PKGBUILD.

Is this all safe? I've never encountered this before.

Offline

#5 2014-07-15 22:55:30

loqs
Member
Registered: 2014-03-06
Posts: 18,859

Re: [SOLVED]Installing from AUR dockbarx-shinybar-theme makepkg error

heyitstallchris wrote:
loqs wrote:

That checksum matches up with the contents of this redirect

<html><head><title>Redirection</title></head><body><script type="text/javascript">window.location.href="http:\/\/levviathor.deviantart.com\/art\/Shinybar1-3-1-for-DockbarX-135875506"</script><noscript><a href="http://levviathor.deviantart.com/art/Shinybar1-3-1-for-DockbarX-135875506">Click here to continue.</a></noscript></body></html>

Translation for Newbie Corner?

Have a look at the contents of the file Shinybar1_3_for_DockbarX_by_Levviathor.gz it should match the code block I posted ie it is not a gzip archive wget just downloaded the contents of a web page redirecting you to another page on deviant art.
Edit:
When the checksum does not match it indicates the file is not what was expected for whatever reason and just changing the checksum so it works without checking what is actually in the file at the least is probably a bad idea.

Last edited by loqs (2014-07-15 22:57:46)

Offline

#6 2014-07-15 23:06:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Installing from AUR dockbarx-shinybar-theme makepkg error

heyitstallchris wrote:

Is this all safe? I've never encountered this before.

I know nothing about themes and I don't know what's the right way to get them from DA.

The package seems to provide just a bunch of png images, so I guess it's safe.

Offline

#7 2014-07-15 23:26:57

heyitstallchris
Member
Registered: 2013-10-01
Posts: 23

Re: [SOLVED]Installing from AUR dockbarx-shinybar-theme makepkg error

@loqs Thank you for clarification, I see what you mean.

@karol My system didn't blow up so I think I'm ok.

Solved.

Offline

Board footer

Powered by FluxBB