[arch-commits] Commit in mythes-hu/trunk (PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Mon Feb 27 15:24:33 UTC 2012
Date: Monday, February 27, 2012 @ 10:24:33
Author: pierre
Revision: 151535
upgpkg: mythes-hu 1.0-2
rebuild old package
Modified:
mythes-hu/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++---------------
1 file changed, 8 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-02-27 15:20:41 UTC (rev 151534)
+++ PKGBUILD 2012-02-27 15:24:33 UTC (rev 151535)
@@ -4,23 +4,19 @@
pkgname=mythes-hu
pkgver=1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Hungarian thesaurus"
-arch=(any)
+arch=('any')
url="http://extensions.services.openoffice.org/project/hu_dicts"
license=('GPL')
optdepends=('libmythes: offers thesaurus library functions')
-source=(http://extensions.services.openoffice.org/e-files/1283/9/dict-hu.oxt)
-md5sums=('d320e43e815c2dfd599dbfb7cd0e41fb')
+source=("http://vesta.informatik.rwth-aachen.de/ftp/pub/mirror/OpenOffice/contrib/dictionaries/thes_hu_HU.zip")
+md5sums=('20e4bfe680999629270e1e8b7e2534e5')
-build() {
- /bin/true
-}
-
package() {
cd "$srcdir"
- install -dm755 ${pkgdir}/usr/share/mythes
- cp -p th_hu_HU_v2.* $pkgdir/usr/share/mythes
+ install -Dm644 th_hu_HU.dat $pkgdir/usr/share/mythes/th_hu_HU.dat
+ install -Dm644 th_hu_HU.idx $pkgdir/usr/share/mythes/th_hu_HU.idx
# the symlinks
install -dm755 ${pkgdir}/usr/share/myspell/dicts
@@ -29,9 +25,6 @@
ln -sv /usr/share/mythes/$(basename $file) .
done
popd
-
- # docs
- install -dm755 ${pkgdir}/usr/share/doc/$pkgname
- cp -p README_th_hu_HU_v2.txt $pkgdir/usr/share/doc/$pkgname
+
+ install -Dm644 README_th_hu_HU.txt $pkgdir/usr/share/doc/$pkgname/README_th_hu_HU.txt
}
-
More information about the arch-commits
mailing list