CoverGloobus 1.7 in Archlabs

A place to share tips, guides, application configurations and scripts about all elements of ArchLabs

Moderator: Founder

CoverGloobus 1.7 in Archlabs

PostPosted by danielzet » Sun Apr 23, 2017 10:46 pm

Create folder ''covergloobus''.
The folder ''covergloobus'' create two files.
1. file with name: PKGBUILD
2. file with name: covergloobus-bzr.install

PKGBUILD
file add:

Code: Select all
# Contributor: cahr_g <cahr.gr@gmail.com>
 
pkgname=covergloobus-bzr
pkgver=297
pkgrel=2
pkgdesc="a standalone application to see what is playing in the your favourite music player"
arch=('i686' 'x86_64')
url="https://launchpad.net/covergloobus"
license=('GPL3')
depends=('dbus-python' 'pygtk' 'ttf-liberation' 'pyxdg')
makedepends=('bzr' 'intltool' 'gettext')
options=()
install=${pkgname}.install
source=()
md5sums=()
conflicts=('covergloobus')
 
_bzrtrunk=lp:covergloobus
_bzrmod=covergloobus
 
build() {
 
  msg "Connecting to the server...."
  cd ${srcdir}
  if [ -d "${srcdir}/${_bzrmod}" ] ; then
    cd ${_bzrmod} && bzr pull
    msg "The local files are updated."
  else
    bzr branch ${_bzrtrunk}
    cd ${_bzrmod}
  fi
 
  msg "BZR checkout done or server timeout"
  msg "Starting make..."
 
  # python2 fix
  for file in $(find . -name Makefile -print) src/scripts/covergloobus.in src/scripts/covergloobus-config.in; do
      sed -i 's_python _python2 _' $file
  done
 
  export PYTHON=python2
  ./autogen.sh --prefix=/usr
  ./configure --prefix=/usr --sysconfdir=/etc
  make
 
}
 
package() {
  cd ${srcdir}/${_bzrmod}
 
  make PREFIX=/usr DESTDIR=${pkgdir} install
}


covergloobus-bzr.install file add:

Code: Select all
post_install() {
  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
  update-desktop-database -q
}
 
post_upgrade() {
  post_install $1
}
 
post_remove() {
  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
  update-desktop-database -q
}


After open a terminal the folder ''covergloobus'' and:

Code: Select all
makepkg -csi


Done
danielzet
 
Posts: 2
Joined: Sat Apr 22, 2017 7:10 pm

Re: CoverGloobus 1.7 in Archlabs

PostPosted by erikdubois » Mon Apr 24, 2017 3:14 am

thanks to post the info here to install it
Living to learn, learning to live.
Linux fits well in my life's motto.
More info on http://erikdubois.be
Archlabs support articles are on https://goo.gl/AaYI0b
Archlabs support youtube channel is on https://goo.gl/Lovquv
User avatar
erikdubois
Site Admin
Site Admin
 
Posts: 333
Joined: Sun Mar 05, 2017 5:42 am
Location: Belgium

Re: CoverGloobus 1.7 in Archlabs

PostPosted by Dobbie03 » Mon Apr 24, 2017 5:24 pm

This is worth adding to our repo.
I like my Metal like my coffee.......black
User avatar
Dobbie03
Founder
Founder
 
Posts: 549
Joined: Sat Feb 18, 2017 2:51 pm
Location: New Zealand
Running Release: DobbieBang


Return to Configs, Scripts, Tutorials and Tips

Who is online

Users browsing this forum: No registered users and 0 guests