You are not logged in.
Can some people try this out? It segfaults on me
# Contributor: dibblethewrecker .at. jiwe .dot. org
pkgname=gkrellm2-batteries
pkgver=1.0.1
pkgrel=1
pkgdesc="ACPI battery monitor plugin as an alternative to the gkrellm builtin battery monitor"
depends=('gkrellm' 'curl')
source=(http://members.dslextreme.com/users/billw/gkrellm/Plugins/$pkgname-$pkgver.tar.gz)
url="http://members.dslextreme.com/users/billw/gkrellm/Plugins.html#PAVLOVSKY"
md5sums=('5f52f1645f2834a7b1351aba880327e5')
build() {
cd $startdir/src/$pkgname-$pkgver
rm gkrellm2-batteries.so
make || return 1
install -D -m755 gkrellm2-batteries.so
$startdir/pkg/usr/lib/gkrellm2/plugins/gkrellm2-batteries.so
}
# vim: ts=2 sw=2 et ft=sh
Offline
build() {
cd $startdir/src/$pkgname-$pkgver
make || return 1
install -D -c -s -m 644 gkrellm2-batteries.so $startdir/pkg/~/.gkrellm2/plugins/gkrellm2-batteries.so
}
# vim: ts=2 sw=2 et ft=sh
:?:
Offline
Um - Penguin? What's that dude?
Offline
that was the part I had to change to get it to build.
Offline
weird! it built fine for me! it just segfaulted when i ran it!
Offline
Dibble, it works fine for me...
rm gkrellm2-batteries.so
I completely overlooked that in your PKGBUILD :oops: and looked at the makefile to come up with what I had.
Your PKGBUILD works, and no segfaulting here
Offline
shit - i wonder what it is then?
Offline
Maybe an overlooked dependency I already have installed but you don't?
Offline
i just added you as an IM buddy - if you get a pacman -Qs i'll diff my against it and see what you got that I don't
Offline
I just tried this line in the build section which also works:
install -D -c -s -m644 gkrellm2-batteries.so $startdir/pkg/usr/lib/gkrellm2/plugins/gkrellm2-batteries.so
those are the options of the install command in the makefile too...
Offline