[arch-commits] Commit in libmythes/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Andreas Radke
andyrtr at gemini.archlinux.org
Sat May 21 20:11:18 UTC 2022
Date: Saturday, May 21, 2022 @ 20:11:17
Author: andyrtr
Revision: 446315
archrelease: copy trunk to extra-x86_64
Added:
libmythes/repos/extra-x86_64/PKGBUILD
(from rev 446313, libmythes/trunk/PKGBUILD)
Deleted:
libmythes/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 75 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-21 20:11:17 UTC (rev 446314)
+++ PKGBUILD 2022-05-21 20:11:17 UTC (rev 446315)
@@ -1,37 +0,0 @@
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-
-pkgname=libmythes
-pkgver=1.2.4
-pkgrel=4
-epoch=1
-pkgdesc="a simple thesaurus"
-arch=('x86_64')
-url="https://hunspell.github.io/"
-license=('custom')
-depends=('glibc' 'perl')
-makedepends=('hunspell')
-provides=('mythes')
-source=(https://downloads.sourceforge.net/hunspell/${pkgname/lib/}-${pkgver}.tar.gz)
-sha512sums=('a04da39812bcfb1391a2cba7de73e955eafe141679ec03ed6657d03bebf360b432480d0037dff9ed72a1dfda5a70d77d44ac2bb14cdb109fd8e2a38376feee21')
-
-build() {
- 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:
- # e.g. to check mouse, mice, rodents, eats, eaten, ate, eating etc. words
- ./example morph.idx morph.dat morph.lst morph.aff morph.dic
-}
-
-package() {
- cd "${pkgname/lib/}"-$pkgver
- make DESTDIR="$pkgdir" install
- # license
- install -Dm644 "${srcdir}"/${pkgname/lib/}-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}
Copied: libmythes/repos/extra-x86_64/PKGBUILD (from rev 446313, libmythes/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-21 20:11:17 UTC (rev 446315)
@@ -0,0 +1,38 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+
+pkgname=libmythes
+pkgver=1.2.4
+pkgrel=5
+epoch=1
+pkgdesc="a simple thesaurus"
+arch=('x86_64')
+url="https://hunspell.github.io/"
+license=('custom')
+depends=('glibc' 'perl')
+makedepends=('hunspell')
+provides=('mythes')
+source=(https://downloads.sourceforge.net/hunspell/${pkgname/lib/}-${pkgver}.tar.gz)
+sha512sums=('a04da39812bcfb1391a2cba7de73e955eafe141679ec03ed6657d03bebf360b432480d0037dff9ed72a1dfda5a70d77d44ac2bb14cdb109fd8e2a38376feee21')
+
+build() {
+ cd "${pkgname/lib/}"-$pkgver
+ ./configure --prefix=/usr --disable-static
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ 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:
+ # e.g. to check mouse, mice, rodents, eats, eaten, ate, eating etc. words
+ ./example morph.idx morph.dat morph.lst morph.aff morph.dic
+}
+
+package() {
+ 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