aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2018-02-25 17:32:54 +0100
committerhaawda2018-02-25 17:32:54 +0100
commitf34211c183ba191ce0282462c3fbad74fc0e0dc1 (patch)
tree30a53450bc975aaba84b1e8ac48c28fe96ba7459
parent0f8f4381e55cdb6f59c1cd4aed657825be491e9b (diff)
downloadaur-f34211c183ba191ce0282462c3fbad74fc0e0dc1.tar.gz
adopted and simplified
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD18
2 files changed, 8 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a80fce3fc0f0..bddf3f08f4a2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Tue Dec 12 21:15:17 UTC 2017
pkgbase = enchant1.6
pkgdesc = A wrapper library for generic spell checking
pkgver = 1.6.1
- pkgrel = 7
+ pkgrel = 8
url = https://abiword.github.io/enchant/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index a5a5318adb4c..7ec4ccf32544 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
-# $Id$
-# Maintainer: Jörg Schuck <joerg_schuck@web.de>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: Jörg Schuck <joerg_schuck@web.de>
# Contributor: T. Baumann <arch AT nnamuab DOT de>
# Contributor: Felix Yan <felixonmars@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
@@ -8,7 +8,7 @@
pkgname=enchant1.6
_pkgname=enchant
pkgver=1.6.1
-pkgrel=7
+pkgrel=8
pkgdesc="A wrapper library for generic spell checking"
arch=('i686' 'x86_64')
url="https://abiword.github.io/enchant/"
@@ -34,11 +34,12 @@ prepare() {
cd $_pkgname
patch -p1 < ../makefile_1.6.patch
patch -p1 < ../aclocal.patch
- NOCONFIGURE=1 ./autogen.sh
+ sed -i '11s+$+1.6+' enchant.pc.in
}
build() {
cd $_pkgname
+ OCONFIGURE=1 ./autogen.sh
./configure --prefix=/usr \
--disable-static \
--disable-ispell \
@@ -49,11 +50,6 @@ build() {
package() {
cd $_pkgname
- local _tempdir=$(readlink -f "./maketarget")
- make DESTDIR="${_tempdir}" install
-
- install -dm 755 "${pkgdir}/usr/lib/enchant1.6"
- cp -a "${_tempdir}/usr/lib/enchant/"* "${pkgdir}/usr/lib/enchant1.6/."
- cp -a "${_tempdir}/usr/lib/libenchant.so.1"* "${pkgdir}/usr/lib/."
-
+ make DESTDIR="$pkgdir" install
+ rm "$pkgdir"/usr/share/enchant/enchant.ordering
}