[arch-commits] Commit in wqy-bitmapfont/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Thu May 7 14:37:58 UTC 2015


    Date: Thursday, May 7, 2015 @ 16:37:58
  Author: spupykin
Revision: 132879

upgpkg: wqy-bitmapfont 1.0.0RC1-1

upd

Modified:
  wqy-bitmapfont/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-07 14:29:52 UTC (rev 132878)
+++ PKGBUILD	2015-05-07 14:37:58 UTC (rev 132879)
@@ -4,23 +4,23 @@
 # Contributor: Tan Xiang <txcary at gmail.com>
 
 pkgname=wqy-bitmapfont
-pkgver=0.9.9
-pkgrel=13
+pkgver=1.0.0RC1
+pkgrel=1
 pkgdesc="A bitmapped Song Ti (serif) Chinese font"
 arch=('any')
 url="http://wenq.org/"
-license=('GPL' 'custom:"font embedding exception"')
+license=('GPL2' 'custom:"font embedding exception"')
 depends=('xorg-font-utils' 'fontconfig')
 install="wqy-bitmapfont.install"
-source=("http://downloads.sourceforge.net/wqy/wqy-bitmapfont-pcf-$pkgver-0.tar.gz"
+source=("http://downloads.sourceforge.net/project/wqy/wqy-bitmapfont/${pkgver/RC/-RC}/wqy-bitmapsong-pcf-${pkgver/RC/-RC}.tar.gz"
 	"85-wqy-bitmapsong.conf.diff")
-md5sums=('76b9702fa7e6e4b9287bbeff927a1546'
+md5sums=('11205e41f7876b016041523c55f0c8af'
          'b472185e6bec801c2ccc65546802c2d0')
 
 package() {
-  cd $srcdir/wqy-bitmapfont
+  cd $srcdir/wqy-bitmapsong
 
-  patch -p0 85-wqy-bitmapsong.conf <$srcdir/85-wqy-bitmapsong.conf.diff
+#  patch -p0 85-wqy-bitmapsong.conf <$srcdir/85-wqy-bitmapsong.conf.diff
 
   mkdir -p  $pkgdir/usr/share/fonts/wenquanyi
   cp *.pcf $pkgdir/usr/share/fonts/wenquanyi
@@ -28,8 +28,7 @@
   mkdir -p $pkgdir/etc/fonts/conf.avail
   mkdir -p $pkgdir/etc/fonts/conf.d
   cp 85-wqy-bitmapsong.conf $pkgdir/etc/fonts/conf.avail
-  cd $pkgdir/etc/fonts/conf.d
-  ln -s ../conf.avail/85-wqy-bitmapsong.conf .
+  (cd $pkgdir/etc/fonts/conf.d && ln -s ../conf.avail/85-wqy-bitmapsong.conf .)
 
-  install -D -m0644 $srcdir/wqy-bitmapfont/COPYING $pkgdir/usr/share/licenses/wqy-bitmapfont/COPYING
+  install -D -m0644 COPYING $pkgdir/usr/share/licenses/wqy-bitmapfont/COPYING
 }



More information about the arch-commits mailing list