You are not logged in.

#1 2008-10-08 22:27:38

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Please Give Some Feedback

This is my first PKGBUILD. I know i didn't describe it, and its already in aur, but I am just practicing for requests. Please give me feedback:

pkgname=tint
pkgver=0.6
pkgrel=0
pkgdesc="Lightweight, taskbar for Openbox."
arch=('i686' 'x86_64')
url="http://www.foo.org"
license=('GPL')
source=(http://tint2.googlecode.com/files/$pkgname-$pkgver.$pkgrel.tar.gz)

build() {
  cd ${srcdir}/$pkgname/src
  make || return 1
  make prefix=${pkgdir}/usr install
  cp ../tintrc1 ~
  mv ~/tintrc1 ~/.tintrc
}

Last edited by haxit (2008-10-08 22:31:42)


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#2 2008-10-08 22:34:09

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Please Give Some Feedback

A few quick comments:

- you can't create files in ~
- use install instead of cp if possible (so you can set correct permission/ownership)

- take a look here: http://wiki.archlinux.org/index.php/Arc … _Standards

[edit] you had changed the code during the time I was writing this message -> changed my comments a bit tongue

Last edited by pressh (2008-10-08 22:35:43)

Offline

#3 2008-10-09 20:58:39

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: Please Give Some Feedback

pressh wrote:

A few quick comments:

- you can't create files in ~
- use install instead of cp if possible (so you can set correct permission/ownership)

- take a look here: http://wiki.archlinux.org/index.php/Arc … _Standards

[edit] you had changed the code during the time I was writing this message -> changed my comments a bit tongue

Thank you very much big_smile


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#4 2008-10-09 20:59:47

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: Please Give Some Feedback

yes as pressh said you shouldn't be modifying anything outside of the build directory


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

Board footer

Powered by FluxBB