Creating the package

This commit is contained in:
Arti Zirk 2016-03-24 13:40:40 +02:00
commit 0f565f1f69
2 changed files with 37 additions and 0 deletions

11
.SRCINFO Normal file
View File

@ -0,0 +1,11 @@
pkgbase = gimp-font-rendering-fix
pkgdesc = Fixes subpixel font rendering when using infinality fontconfig
pkgver = 1
pkgrel = 1
url = https://bbs.archlinux.org/viewtopic.php?id=195315
arch = any
license = unknown
depends = gimp
pkgname = gimp-font-rendering-fix

26
PKGBUILD Normal file
View File

@ -0,0 +1,26 @@
# Maintainer: Arti Zirk <arti.zirk@gmail.com>
pkgname=gimp-font-rendering-fix
pkgver=1
pkgrel=1
pkgdesc="Fixes subpixel font rendering when using infinality fontconfig"
arch=('any')
url="https://bbs.archlinux.org/viewtopic.php?id=195315"
license=('unknown')
depends=('gimp')
source=()
md5sums=()
package() {
mkdir -p $pkgdir/etc/gimp/2.0/
cat << EOF >> $pkgdir/etc/gimp/2.0/fonts.conf
<fontconfig>
<match target="font">
<edit name="rgba" mode="assign">
<const>none</const>
</edit>
</match>
</fontconfig>
EOF
}
# vim:set ts=2 sw=2 et: