[arch-commits] Commit in mythes-nl/trunk (PKGBUILD)

Ionut Biru ibiru at archlinux.org
Tue Jan 4 13:28:03 EST 2011


    Date: Tuesday, January 4, 2011 @ 13:28:02
  Author: ibiru
Revision: 104650

upgpkg: mythes-nl 20110104-1
fix versioning and license

Modified:
  mythes-nl/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-04 18:24:17 UTC (rev 104649)
+++ PKGBUILD	2011-01-04 18:28:02 UTC (rev 104650)
@@ -2,21 +2,21 @@
 # Contributor: Jelle van der Waa <jelle vdwaa nl>
 
 pkgname=mythes-nl
-pkgver=1.0
+pkgver=20110104
 pkgrel=1
 pkgdesc="Dutch thesaurus"
 arch=(any)
-url="http://opentaal.org"
-license=('BSD')
+url="http://data.opentaal.org/opentaalbank/thesaurus/"
+license=('BSD' 'custom:Creative Commons, Attribution 3.0 Unported')
 optdepends=('libmythes: offers thesaurus library functions')
 source=(http://data.opentaal.org/opentaalbank/thesaurus/download/thes_nl.oxt)
-md5sums=('7e577fc73576a99e6aeed9a39ce8065f')
+md5sums=('b3be2eb4582c74e0affcf2ffaf605032')
 
 package() {
   cd "${srcdir}"
   install -dm755 "${pkgdir}"/usr/share/mythes
-  install -m644 th_nl_v2.dat "${pkgdir}/usr/share/mythes/th_nl_v2.dat"
-  install -m644 th_nl_v2.idx "${pkgdir}/usr/share/mythes/th_nl_v2.idx"
+  install -m644 th_nl_v2.dat "${pkgdir}/usr/share/mythes/th_nl_NL_v2.dat"
+  install -m644 th_nl_v2.idx "${pkgdir}/usr/share/mythes/th_nl_NL_v2.idx"
 
   pushd "${pkgdir}/usr/share/mythes/"
   nl_NL_aliases="nl_AW nl_BE"
@@ -37,4 +37,8 @@
   # docs
   install -dm755 "${pkgdir}/usr/share/doc/${pkgname}"
   install -m644 README_th_nl.txt "${pkgdir}/usr/share/doc/${pkgname}"
+
+  # licences
+  install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+  ln -s ../../doc/${pkgname}/README_th_nl.txt $pkgdir/usr/share/licenses/$pkgname/README_th_nl.txt
 }



More information about the arch-commits mailing list