[arch-commits] Commit in ttf-indic-otf/trunk (PKGBUILD ttf.install)
Eric Bélanger
eric at archlinux.org
Mon May 4 00:21:50 UTC 2009
Date: Sunday, May 3, 2009 @ 20:21:50
Author: eric
Revision: 37841
upgpkg: ttf-indic-otf 0.2-4
Added license, Fixed install scriptlet, Removed provides and conflicts array
Modified:
ttf-indic-otf/trunk/PKGBUILD
ttf-indic-otf/trunk/ttf.install
-------------+
PKGBUILD | 12 +++++-------
ttf.install | 9 ++-------
2 files changed, 7 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-05-04 00:17:41 UTC (rev 37840)
+++ PKGBUILD 2009-05-04 00:21:50 UTC (rev 37841)
@@ -2,21 +2,19 @@
# Maintainer : Damir Perisa <damir.perisa at bluewin.ch>
pkgname=ttf-indic-otf
-provides=('ttf-freebanglafont')
-conflicts=('ttf-freebanglafont')
pkgver=0.2
-pkgrel=3
+pkgrel=4
pkgdesc="Indic Opentype Fonts collection"
arch=(i686 x86_64)
url="http://www.indlinux.org/wiki/index.php/Downloads"
+license=('GPL')
depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig)
install=ttf.install
source=(http://www.indlinux.org/downloads/files/indic-otf-0.2.tar.gz)
md5sums=('d50bb65a39d78608be3560f38f003d21')
build() {
- cd ${startdir}/src/indic/OpenType
- mkdir -p ${startdir}/pkg/usr/share/fonts/TTF
- install -m644 *.ttf ${startdir}/pkg/usr/share/fonts/TTF/
-
+ cd ${srcdir}/indic/OpenType
+ install -d ${pkgdir}/usr/share/fonts/TTF
+ install -m644 *.ttf ${pkgdir}/usr/share/fonts/TTF/
}
Modified: ttf.install
===================================================================
--- ttf.install 2009-05-04 00:17:41 UTC (rev 37840)
+++ ttf.install 2009-05-04 00:21:50 UTC (rev 37841)
@@ -1,8 +1,8 @@
post_install() {
echo -n "Updating font cache... "
fc-cache -f > /dev/null
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
+ mkfontscale usr/share/fonts/TTF
+ mkfontdir usr/share/fonts/TTF
echo "done."
}
@@ -13,8 +13,3 @@
post_remove() {
post_install $1
}
-
-op=$1
-shift
-
-$op $*
More information about the arch-commits
mailing list