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

Andreas Radke andyrtr at nymeria.archlinux.org
Sat Jun 28 08:50:38 UTC 2014


    Date: Saturday, June 28, 2014 @ 10:50:38
  Author: andyrtr
Revision: 215529

upgpkg: libmythes 1:1.2.4-1

upstream update 1.2.4

Modified:
  libmythes/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-28 00:57:15 UTC (rev 215528)
+++ PKGBUILD	2014-06-28 08:50:38 UTC (rev 215529)
@@ -2,7 +2,7 @@
 # Maintainer: AndyRTR <andyrtr at archlinux.org>
 
 pkgname=libmythes
-pkgver=1.2.3
+pkgver=1.2.4
 pkgrel=1
 epoch=1
 pkgdesc="a simple thesaurus"
@@ -13,12 +13,16 @@
 makedepends=('hunspell')
 provides=('mythes')
 source=(http://downloads.sourceforge.net/hunspell/${pkgname/lib/}-${pkgver}.tar.gz)
-md5sums=('46e92b68e31e858512b680b3b61dc4c1')
+sha1sums=('c038831d84882cdf639e038e44decb1e40527591')
 
 build() {
-  cd ${srcdir}/${pkgname/lib/}-$pkgver
+  cd ${pkgname/lib/}-$pkgver
   ./configure --prefix=/usr --disable-static
   make
+}
+
+check() {
+  cd ${pkgname/lib/}-$pkgver
   # run the example program:
   ./example th_en_US_new.idx th_en_US_new.dat checkme.lst
   # run the example program with stemming and morphological generation:
@@ -27,7 +31,7 @@
 }
 
 package() {
-  cd ${srcdir}/${pkgname/lib/}-$pkgver
+  cd ${pkgname/lib/}-$pkgver
   make DESTDIR=$pkgdir install
   # license
   install -Dm644 ${srcdir}/${pkgname/lib/}-$pkgver/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING




More information about the arch-commits mailing list