You are not logged in.
Pages: 1
What is TuxCards? First of all, it is THE notebook for TuxFreaks and for everyone who likes to use it or finds it useful during his or her work and play.
TuxCards is a hierarchical notebook. http://www.tuxcards.de/
PKGBUILD:
# Maintainer: Oliver Willemse <olli (at) xs4all (d0t) nl>
pkgname=tuxcards
pkgver=1.2
pkgrel=1
pkgdesc=" TuxCards is a hierarchical notebook"
url="http://www.tuxcards.de"
# license="GPL"
depends=('qt' 'x-server')
source=("http://www.tifskom.de/tux/$pkgver/$pkgname-$pkgver.tar.gz" "http://www.xs4all.nl/~olli/tuxcards_path.diff")
md5sums=('ee85e2e5c23425fd031c62a5e2f6f248' '2f972715b4fd9e94738288a198fec9df')
build() {
cd $startdir/src/$pkgname-$pkgver
patch -p2 tuxcards.pro < ../tuxcards_path.diff
qmake tuxcards.pro
make || return 1
make INSTALL_ROOT=$startdir/pkg install
}
DIY: Doom-It-Yourself
Offline
hi,
I just made your package.. seems to work one question though, what does that patch of yours do?
cya
ArchLinux (x86_64) w/ kdemod
Offline
hi,
I just made your package.. seems to work one question though, what does that patch of yours do?cya
It adjusts the paths in the config file (tuxcards.pro), since I couldn't find any quicker way of doing it It's just temp
DIY: Doom-It-Yourself
Offline
this looks like a cool app - i never saw anything like this before!
Offline
just a suggestion:
# Maintainer: Oliver Willemse <olli (at) xs4all (d0t) nl>
pkgname=tuxcards
pkgver=1.2
pkgrel=1
pkgdesc=" TuxCards is a hierarchical notebook"
url="http://www.tuxcards.de"
depends=('qt' 'x-server')
source=(http://www.tifskom.de/tux/$pkgver/$pkgname-$pkgver.tar.gz)
md5sums=('ee85e2e5c23425fd031c62a5e2f6f248')
build() {
cd $startdir/src/$pkgname-$pkgver
cat ./tuxcards.pro | sed "s|/usr/local|/usr|g" >./tuxcards.pro
qmake tuxcards.pro
make || return 1
make INSTALL_ROOT=$startdir/pkg install
}
you should find that does the job perfectly, the patch is fine but this way avoids broken link probs etc :) HTH for future efforts
Offline
just a suggestion:
# Maintainer: Oliver Willemse <olli (at) xs4all (d0t) nl> pkgname=tuxcards pkgver=1.2 pkgrel=1 pkgdesc=" TuxCards is a hierarchical notebook" url="http://www.tuxcards.de" depends=('qt' 'x-server') source=(http://www.tifskom.de/tux/$pkgver/$pkgname-$pkgver.tar.gz) md5sums=('ee85e2e5c23425fd031c62a5e2f6f248') build() { cd $startdir/src/$pkgname-$pkgver cat ./tuxcards.pro | sed "s|/usr/local|/usr|g" >./tuxcards.pro qmake tuxcards.pro make || return 1 make INSTALL_ROOT=$startdir/pkg install } you should find that does the job perfectly, the patch is fine but this way avoids broken link probs etc :) HTH for future efforts
Cheers, it was either sed or diff, I choose diff in this case but as you said, in relation to broken links, this is better
DIY: Doom-It-Yourself
Offline
Dribble's way did not work for me:
==> Starting build()...
./PKGBUILD: line 13: ./tuxcards.pro: Permission denied
Seems like the tuxcards.pro file defaults to read only.
Offline
a) don't call me dribble
b) try it as root
Offline
Sorry about wrong name. I got Olli's version working, so it is installed fine now
Offline
Or you can change the permission, add:
chmod 644 ./tuxcards.pro
before the
cat ./tuxcards.pro | sed "s|/usr/local|/usr|g" >./tuxcards.pro
line.
Offline
I had some trouble with the QMAKESPEC variable, but fixed it, and I've improved the way ya'll are running sed (did you ever hear of the -i (in place) option), makes it look cleaner.
After I test this package out a bit, I'll definitly put it under consideration to put in my repo.
The suggestion box only accepts patches.
Offline
Uhm, ok here's what i'll do with this, It wont be added to my repo quite yet, but I'll throw it in the subversion repo of PKGBUILDS.
here's a direct link to the pkgbuild:
http://neotuli.net/websvn/filedetails.p … rev=0&sc=0
I might also add that I took a peek at the original patch, and I noticed that it changed the location for docs. I'd just like to point out that makepkg removes that path as it creates the package...
Oh and one more thing, I've added mesa as a dep because namcap indicated that the binary was linked into it.
The suggestion box only accepts patches.
Offline
Pages: 1