You are not logged in.

#1 2009-12-06 22:47:13

onesandzeros
Member
Registered: 2005-09-16
Posts: 41

adopted kdedecor-nitrogen-kde4

Hello all,

I just thought I'd ask for a look over this before I put it out on AUR.  Compared to the previous maintainer's PKGBUILD for 3.3.0, that has no changes other than the version, pkgrel, md5sum, and my contact info.  There are also some questions below.

# Contributor: onesandzeros <onesandzeros@example.com>
pkgname=kdedecor-nitrogen-kde4
pkgver=3.3.1
pkgrel=1
pkgdesc="KDE Kwin Window Decoration"
arch=('i686' 'x86_64')
url="http://kde-look.org/content/show.php?content=99551"
license=("GPL")
depends=('kdelibs>=4.3')
makedepends=('cmake' 'automoc4')
source=(http://kde-look.org/CONTENT/content-files/99551-kde4-windeco-nitrogen-$pkgver-Source.tar.gz)
md5sums=('1c47f902767d5658fefb3aa27a181d0f')

build() {
  cd kde4-windeco-nitrogen-$pkgver-Source
  cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
  make || return 1
  make DESTDIR=$startdir/pkg install || return 1
}

However, in http://wiki.archlinux.org/index.php/AUR … NSUPPORTED , it mentions this:

$ ls -a libfoo
. .. PKGBUILD libfoo.install
$ makepkg --source

and I don't really understand what they're getting at.  This is the build process, correct?.  To prepare this for uploading I have only the PKGBUILD file in a directory called kdedecor-nitrogen-kde4, and then I do

tar -czvf kdedecor-nitrogen-kde4.tar.gz kdedecor-nitrogen-kde4/

This extracts correctly and the package builds and works.  Is this the proper procedure?

Thanks!

Last edited by onesandzeros (2009-12-13 03:21:32)

Offline

#2 2009-12-07 03:53:43

mcsaba77
Member
From: Ho Chi Minh City, Vietnam
Registered: 2009-09-30
Posts: 52

Re: adopted kdedecor-nitrogen-kde4

Sorry I can't help you there with your questions, just wanted to say THANKS, this is one of my favourite window decorations. Excellent for laptops, netbooks (actually, it's probably the best!)..

Last edited by mcsaba77 (2009-12-07 03:54:23)

Offline

#3 2009-12-07 05:47:36

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: adopted kdedecor-nitrogen-kde4

To maintain a package you're going to need to know a few details about package building, makepkg, and the AUR.  As the PKGBUILD is now, it looks fine, but I haven't tested it.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

Board footer

Powered by FluxBB