[arch-commits] Commit in unicode-character-database/trunk (LICENSE PKGBUILD)

Jan Steffens heftig at archlinux.org
Wed Jun 21 19:49:51 UTC 2017


    Date: Wednesday, June 21, 2017 @ 19:49:49
  Author: heftig
Revision: 299128

10.0.0-2

Modified:
  unicode-character-database/trunk/LICENSE
  unicode-character-database/trunk/PKGBUILD

----------+
 LICENSE  |   18 +++++++-----------
 PKGBUILD |   15 +++++++--------
 2 files changed, 14 insertions(+), 19 deletions(-)

Modified: LICENSE
===================================================================
--- LICENSE	2017-06-21 17:54:20 UTC (rev 299127)
+++ LICENSE	2017-06-21 19:49:49 UTC (rev 299128)
@@ -1,8 +1,7 @@
 COPYRIGHT AND PERMISSION NOTICE
 
-Copyright © 1991-2016 Unicode, Inc. All rights reserved.
-Distributed under the Terms of Use in 
-http://www.unicode.org/copyright.html.
+Copyright © 1991-2017 Unicode, Inc. All rights reserved.
+Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
 
 Permission is hereby granted, free of charge, to any person obtaining
 a copy of the Unicode data files and any associated documentation
@@ -11,14 +10,11 @@
 without restriction, including without limitation the rights to use,
 copy, modify, merge, publish, distribute, and/or sell copies of
 the Data Files or Software, and to permit persons to whom the Data Files
-or Software are furnished to do so, provided that
-(a) this copyright and permission notice appear with all copies 
-of the Data Files or Software,
-(b) this copyright and permission notice appear in associated 
-documentation, and
-(c) there is clear notice in each modified Data File or in the Software
-as well as in the documentation associated with the Data File(s) or
-Software that the data or software has been modified.
+or Software are furnished to do so, provided that either
+(a) this copyright and permission notice appear with all copies
+of the Data Files or Software, or
+(b) this copyright and permission notice appear in associated
+Documentation.
 
 THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
 ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-21 17:54:20 UTC (rev 299127)
+++ PKGBUILD	2017-06-21 19:49:49 UTC (rev 299128)
@@ -3,7 +3,7 @@
 
 pkgname=unicode-character-database
 pkgver=10.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Unicode Character Database"
 arch=(any)
 license=(BSD)
@@ -14,16 +14,15 @@
 noextract=({UCD,Unihan}-$pkgver.zip)
 sha256sums=('cb26d649f8bac8b12f69e2fbcd77d1759ecdcd7c8e8f1c4385a9c5a36cf14891'
             '01232063a8529636cf155ba7a1dbad329cb2e63acde83a3d607b5eafa8f933a5'
-            'dfc6b3430adc9e474443645fe5c55b29ecfe166434c2d5232909f4865d81ca16')
+            '22afb7cd85b74a197cb96af709e2da5a814235331c52d866b3208dbdda6807df')
 
 package() {
-  install -d "$pkgdir/usr/share/$pkgname"
-  cd "$pkgdir/usr/share/$pkgname"
-
   for _f in UCD Unihan; do
-    cp "$srcdir/$_f-$pkgver.zip" $_f.zip
-    bsdtar -x --no-same-owner --no-same-permissions -f $_f.zip
+    install -Dm644 $_f-$pkgver.zip "$pkgdir/usr/share/unicode/$_f.zip"
+    bsdtar -C "$pkgdir/usr/share/unicode" -x --no-same-owner --no-same-permissions -f $_f-$pkgver.zip
   done
 
-  install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  ln -s unicode "$pkgdir/usr/share/$pkgname"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



More information about the arch-commits mailing list