|
楼主 |
发表于 2006-4-28 09:08:57
|
显示全部楼层
[arch][PKGBUILD]kbfx-0.4.9.1
kbfx-0.4.9.1比以前版本有很大改进,感觉还可以
- pkgname="kdeimprov-kbfx"
- pkgver=0.4.9.1
- pkgrel=1
- pkgdesc="a KDE improvement"
- url="www.kbfx.org"
- depends=('kdebase')
- makedepends=()
- source=([url]http://easynews.dl.sourceforge.net/sourceforge/kbfx/kbfx-0.4.9.1.tar.bz2[/url] automake_patch.diff kbfx-0.4.9-kio.patch)
- #md5sums=('3d0bad1a2fc8fb870e3ec83629526806')
- build() {
- cd $startdir/src/kbfx-$pkgver
- patch -Np1 -i ../automake_patch.diff
- patch -Np1 -i ../kbfx-0.4.9-kio.patch
- make -f Makefile.cvs
- ./configure --prefix=/opt/kde
- make || return 1
- make DESTDIR=$startdir/pkg/ install
- }
复制代码
automake_patch.diff
- --- old/admin/cvs.sh 2005-02-18 03:45:07.000000000 +0100
- +++ new/admin/cvs.sh 2005-05-29 22:22:27.000000000 +0200
- @@ -77,7 +77,7 @@
- * )
- echo "*** YOU'RE USING $AUTOMAKE_STRING."
- echo "*** KDE requires automake 1.6"
- - exit 1
- + #exit 1
- ;;
- esac
- }
复制代码
kbfx-0.4.9-kio.patch
- --- kbfx-0.4.9.1/kbfxconfigapp/Makefile.am.orig 2006-04-14 02:22:18.000000000 +0000
- +++ kbfx-0.4.9.1/kbfxconfigapp/Makefile.am 2006-04-15 16:13:28.420504832 +0000
- @@ -2,7 +2,7 @@
- bin_PROGRAMS = kbfxconfigapp
-
- kbfxconfigapp_SOURCES = main.cpp mainwin.cpp kbfxconfig.cpp
- -kbfxconfigapp_LDADD = $(LIB_KIO) $(LIB_KHTML)
- +kbfxconfigapp_LDADD = -L/opt/kde/lib/ -lkio $(LIB_KHTML)
- kbfxconfigapp_LDFLAGS = $(all_libraties) $(KDE_RPATH)
-
- AM_CPPFLAGS = $(all_includes)
复制代码
图片
|
|