[arch-commits] Commit in ttf-tibetan-machine/trunk (PKGBUILD ttf.install)
Eric Bélanger
eric at archlinux.org
Mon May 4 00:30:02 UTC 2009
Date: Sunday, May 3, 2009 @ 20:30:02
Author: eric
Revision: 37847
upgpkg: ttf-tibetan-machine 20020930-2
Added license, Fixed install scriptlet
Modified:
ttf-tibetan-machine/trunk/PKGBUILD
ttf-tibetan-machine/trunk/ttf.install
-------------+
PKGBUILD | 10 +++++-----
ttf.install | 9 ++-------
2 files changed, 7 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-05-04 00:28:34 UTC (rev 37846)
+++ PKGBUILD 2009-05-04 00:30:02 UTC (rev 37847)
@@ -3,20 +3,20 @@
pkgname=ttf-tibetan-machine
pkgver=20020930
-pkgrel=1
+pkgrel=2
pkgdesc="Tibetan Machine TTFont"
arch=(i686 x86_64)
url="http://www.thdl.org/tools/fonts/tibfonts.php?l=uva10928423419921"
+license=('GPL2')
depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig)
install=ttf.install
-license=('GPL')
source=("http://www.thdl.org/tools/dls/fonts/TibetanMachineUnicodeFont.zip")
md5sums=('39d9f6bf83362d45ed5d8d5f7831d153')
build() {
- cd ${startdir}/src
- mkdir -p ${startdir}/pkg/usr/share/fonts/TTF
- install -m644 *.ttf ${startdir}/pkg/usr/share/fonts/TTF/
+ cd ${srcdir}
+ install -d ${pkgdir}/usr/share/fonts/TTF
+ install -m644 *.ttf ${pkgdir}/usr/share/fonts/TTF/
}
Modified: ttf.install
===================================================================
--- ttf.install 2009-05-04 00:28:34 UTC (rev 37846)
+++ ttf.install 2009-05-04 00:30:02 UTC (rev 37847)
@@ -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