You are not logged in.

#1 2008-07-12 04:01:08

georgia_tech_swagger
Member
From: Upstate, SC
Registered: 2008-07-02
Posts: 138
Website

Lost my PKGBUILD/AUR virginity

http://aur.archlinux.org/packages.php?ID=18369

Would appreciate helpful criticism of anything I did that was n00b.


Res Publica Non Dominetur

Laptop:  Arch x86 | Thinkpad X220 | Core i5 2410-M | 8 GB DDR3 | Sandy Bridge
Desktop:  Arch x86_64 | Custom | Core i7 920 | 6 GB DDR3 | GeForce 260 GTX

Offline

#2 2008-07-12 04:14:29

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: Lost my PKGBUILD/AUR virginity

Not too bad...   However, you should not be using mv.  Rather you want "cp" or better yet "install".  With install you can set permissions at the same time.  e.g. "install -m755 <file> <destination>" will make that file have 755 permissions.

Offline

#3 2008-07-12 06:59:12

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,604

Re: Lost my PKGBUILD/AUR virginity

Why are you using /opt?

Offline

#4 2008-07-12 16:40:24

georgia_tech_swagger
Member
From: Upstate, SC
Registered: 2008-07-02
Posts: 138
Website

Re: Lost my PKGBUILD/AUR virginity

Seemed to me to fit with OpenOffice etc in that it's a big blob of code that doesn't use anything else (aside from language it was made in).   Doesn't play with others, etc.

Where would you have put it?


Res Publica Non Dominetur

Laptop:  Arch x86 | Thinkpad X220 | Core i5 2410-M | 8 GB DDR3 | Sandy Bridge
Desktop:  Arch x86_64 | Custom | Core i7 920 | 6 GB DDR3 | GeForce 260 GTX

Offline

#5 2008-07-12 17:49:53

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,604

Re: Lost my PKGBUILD/AUR virginity

/usr - we're moving away from /opt. Your choice though.

Offline

#6 2008-07-12 18:04:24

georgia_tech_swagger
Member
From: Upstate, SC
Registered: 2008-07-02
Posts: 138
Website

Re: Lost my PKGBUILD/AUR virginity

Thanks all.   I did another release.  I used install where I could, and replaced recursive moving around with cp instead of mv.   But I still like opt more than I do plodding around in /usr.  smile


Res Publica Non Dominetur

Laptop:  Arch x86 | Thinkpad X220 | Core i5 2410-M | 8 GB DDR3 | Sandy Bridge
Desktop:  Arch x86_64 | Custom | Core i7 920 | 6 GB DDR3 | GeForce 260 GTX

Offline

#7 2009-07-16 15:56:40

kdjtar
Member
From: Brazil
Registered: 2009-05-13
Posts: 13

Re: Lost my PKGBUILD/AUR virginity

tomk wrote:

/usr - we're moving away from /opt. Your choice though.

What does it mean? hmm

Offline

#8 2009-07-16 16:22:54

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: Lost my PKGBUILD/AUR virginity

kdjtar wrote:

What does it mean? hmm

The package data should be save in /usr/share/$pkgname/ instead.


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

Board footer

Powered by FluxBB