[arch-commits] Commit in hunspell-pl/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Tue Jan 21 17:16:17 UTC 2014
Date: Tuesday, January 21, 2014 @ 18:16:17
Author: bpiotrowski
Revision: 104476
upgpkg: hunspell-pl 20120911-2
rebuild for the sake of rebuilding
Modified:
hunspell-pl/trunk/PKGBUILD
----------+
PKGBUILD | 39 ++++++++++++++++++---------------------
1 file changed, 18 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-01-21 15:59:20 UTC (rev 104475)
+++ PKGBUILD 2014-01-21 17:16:17 UTC (rev 104476)
@@ -4,36 +4,33 @@
pkgname=hunspell-pl
pkgver=20120911
-pkgrel=1
-pkgdesc="Polish (Poland) dictionary for Hunspell"
-arch=(any)
-url="http://www.sjp.pl/slownik/ort/"
+pkgrel=2
+pkgdesc='Polish dictionary for Hunspell'
+arch=('any')
+url='http://www.sjp.pl/slownik/ort/'
license=('GPL')
optdepends=('hunspell: the spell checking libraries and apps')
source=(ftp://ftp.archlinux.org/other/community/$pkgname/sjp-myspell-pl-$pkgver.zip)
md5sums=('cc1b05d329be79847b9e30a8f056753d')
-build() {
- cd $srcdir
- bsdtar -xf pl_PL.zip
+prepare() {
+ bsdtar -xf pl_PL.zip
}
package() {
- cd $srcdir
+ install -dm755 "$pkgdir"/usr/share/hunspell
+ install -m644 pl_PL.aff "$pkgdir"/usr/share/hunspell
+ install -m644 pl_PL.dic "$pkgdir"/usr/share/hunspell
- install -dm755 $pkgdir/usr/share/hunspell
- install -m644 pl_PL.aff $pkgdir/usr/share/hunspell
- install -m644 pl_PL.dic $pkgdir/usr/share/hunspell
-
# the symlinks
- install -dm755 ${pkgdir}/usr/share/myspell/dicts
- pushd $pkgdir/usr/share/myspell/dicts
- for file in $pkgdir/usr/share/hunspell/*; do
- ln -sv /usr/share/hunspell/$(basename $file) .
- done
- popd
+ install -dm755 ${pkgdir}/usr/share/myspell/dicts
+ pushd "$pkgdir"/usr/share/myspell/dicts
+ for file in "$pkgdir"/usr/share/hunspell/*; do
+ ln -sv /usr/share/hunspell/$(basename $file) .
+ done
+ popd
- # docs
- install -dm755 $pkgdir/usr/share/doc/$pkgname
- install -m644 README_pl_PL.txt $pkgdir/usr/share/doc/$pkgname
+ # docs
+ install -dm755 "$pkgdir"/usr/share/doc/$pkgname
+ install -m644 README_pl_PL.txt "$pkgdir"/usr/share/doc/$pkgname
}
More information about the arch-commits
mailing list