You are not logged in.
I can't get it to compile because some header files are in different locations, among other things...here's my PKGBUILD...it's good, nothing else is...
# Contributor: ilikenwf/Matt Parnell <parwok@gmail.com>
pkgname=gdkxft
pkgver=1.5
pkgrel=1
pkgdesc="Adds antialiasing to fonts in gtk 1.2 apps"
url="http://gdkxft.sourceforge.net/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('libxft')
makedepends=()
conflicts=()
provides=('gdkxft')
install=('gdkxft.install')
source=()
md5sums=()
source=(http://voxel.dl.sourceforge.net/sourceforge/gdkxft/gdkxft-$pkgver.tar.gz)
build() {
cd $startdir/src/gdkxft-$pkgver
./configure
make || return 1
make DESTDIR=$startdir/pkg install
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo "See the Readme at in order to set antialiasing settings so that you will actually see a difference. Failure to do so will result in no change."
}
3 Simple Steps to Font Perfection in Linux(My personal Site)
Free Stuff
Offline
Some remarks in regard to your PKGBUILD:
* Any messages to be read by the user or commands that need to be executed after installation, should be put in a .install file.
* Always use downloads.sourceforge.net and avoid specifying a mirror yourself.
* In the provides array, you place packages whose features your package provides. This is used to satisfy dependencies of other packages.
* The correct license is LGPL, not GPL.
Here's a revised PKGBUILD (please note that it may require further tweaking):
# Contributor: ilikenwf/Matt Parnell <parwok@gmail.com>
pkgname=gdkxft
pkgver=1.5
pkgrel=1
pkgdesc="Adds antialiasing to fonts in gtk 1.2 apps"
arch=('i686' 'x86_64')
url="http://gdkxft.sourceforge.net/"
license=('LGPL')
depends=('libxft' 'gtk')
options=('!libtool')
install=gdkxft.install
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('ed594e24cf2aefe7a71f96425c1922e8')
build() {
cd "$srcdir/$pkgname-$pkgver"
export CPPFLAGS="-I/usr/include/freetype2"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man
make || return 1
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:
gdkxft.install:
post_install() {
usr/sbin/gdkxft_sysinstall
}
pre_upgrade() {
pre_remove $1
}
post_upgrade() {
post_install $1
}
pre_remove() {
usr/sbin/gdkxft_sysinstall -u
}
# vim:set ts=2 sw=2 et:
Offline
Thanks! It was kinda late when I did this. Hoepefully it will build.
3 Simple Steps to Font Perfection in Linux(My personal Site)
Free Stuff
Offline
You may as well add yourself as the contributor and put it in AUR. I won't maintain it since I didn't really write it.
3 Simple Steps to Font Perfection in Linux(My personal Site)
Free Stuff
Offline