Date: Tuesday, February 28, 2012 @ 12:47:29
  Author: andyrtr
Revision: 151618

upgpkg: mythes-de 20120228-1

update to todays snapshot. host the file to allow rebuilds.

Modified:
  mythes-de/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2012-02-28 14:05:23 UTC (rev 151617)
+++ PKGBUILD    2012-02-28 17:47:29 UTC (rev 151618)
@@ -2,18 +2,28 @@
 # Maintainer: AndyRTR <[email protected]>
 
 pkgname=mythes-de
-pkgver=20111216
+_date=20120228
+pkgver=${_date}
 pkgrel=1
 pkgdesc="German thesaurus"
 arch=(any)
 url="http://www.openthesaurus.de/";
 license=('LGPL')
 optdepends=('libmythes: offers thesaurus library functions')
-source=(http://www.openthesaurus.de/export/Deutscher-Thesaurus.oxt)
-md5sums=('c8895a2f5412545a0c8b0186c5f613a7')
+source=(#http://www.openthesaurus.de/export/Deutscher-Thesaurus.oxt - changes 
every day
+               
ftp://ftp.archlinux.org/other/$pkgname/Deutscher-Thesaurus-${_date}.oxt
+               # alternative source with most times older snapshot
+        
#http://extensions.libreoffice.org/extension-center/german-de-de-frami-dictionaries/releases/2011.06.03/dict-de_de-frami_2011-06-03.oxt
+)
+md5sums=('811ab3b7caaa1b3c9e2a965ebd7e164e')
 
-build() {
-  /bin/true
+# source PKGBUILD && mksource
+mksource() {
+       mkdir /tmp/$pkgname-${_date}
+       pushd /tmp/$pkgname-${_date}
+       wget http://www.openthesaurus.de/export/Deutscher-Thesaurus.oxt
+       mv Deutscher-Thesaurus.oxt Deutscher-Thesaurus-${_date}.oxt
+       popd
 }
 
 package() {

Reply via email to