You are not logged in.
Hello
I've modified the PKGBUILD for evilwm to apply a patch to it. here's the PKGBUILD:
pkgname=evilwm-roberth
pkgver=1.0.0
pkgrel=1
pkgdesc="A minimalist but usable window manager for the X Window System."
arch=('i686' 'x86_64')
conflicts=('evilwm')
provides=('evilwm')
depends=('libxext' 'libxrandr')
url="http://evilwm.sourceforge.net"
source=(http://www.6809.org.uk/evilwm/evilwm-$pkgver.tar.gz
remove-ctrl.diff)
license=(custom)
md5sums=('aa66a68f54dda48ff3bcef23ea852e59'
'01f5c61f66a66a63d289a201bdb4ee7c')
build() {
cd $startdir/src/evilwm-$pkgver
diff -Np0 -i $startdir/src/remove-ctrl.diff || return 1
/usr/bin/make || return 1
/usr/bin/make DESTDIR=$startdir/pkg install
install -D -m644 README $startdir/pkg/usr/share/licenses/$pkgname/README
}Here's the output when running makepkg:
[roberth@Magda evilwm-roberth]$ makepkg
==> Entering fakeroot environment
==> Making package: evilwm-roberth 1.0.0-1 (Wed Jan 9 14:21:45 UTC 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found evilwm-1.0.0.tar.gz in build dir
-> Found remove-ctrl.diff in build dir
==> Validating source files with md5sums
evilwm-1.0.0.tar.gz ... Passed
remove-ctrl.diff ... Passed
==> Extracting Sources...
-> tar -xf evilwm-1.0.0.tar.gz
==> Starting build()...
diff: `-0' option is obsolete; omit it
diff: Try `diff --help' for more information.
==> ERROR: Build Failed. Aborting...What is wrong?
Use the Source, Luke!
Offline
You want to use the 'patch' command, not the 'diff' command.
Offline
Edit: stupid comment... ![]()
Last edited by Allan (2008-01-09 13:34:16)
Offline
Thanks.
Use the Source, Luke!
Offline