diff options
author | Jörg Schuck | 2017-12-03 13:09:16 +0100 |
---|---|---|
committer | Jörg Schuck | 2017-12-03 13:09:16 +0100 |
commit | 087455dff7ee4352eeeb332b65bccc2ca66f5be5 (patch) | |
tree | 16a2f956fef34787b74c81ecf8239d4370da6c4a | |
parent | f25fa1dc32cccc2d98ee5993ea3ecdcabdeeb679 (diff) | |
download | aur-087455dff7ee4352eeeb332b65bccc2ca66f5be5.tar.gz |
Made a working version for now.
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 20 insertions, 12 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sun Dec 3 11:19:41 UTC 2017 -pkgbase = enchant +# Sun Dec 3 12:09:18 UTC 2017 +pkgbase = enchant1.6 pkgdesc = A wrapper library for generic spell checking pkgver = 1.6.1 - pkgrel = 2 + pkgrel = 3 url = https://abiword.github.io/enchant/ arch = i686 arch = x86_64 @@ -17,5 +17,5 @@ pkgbase = enchant source = git+https://github.com/AbiWord/enchant.git#commit=7c0ec265a89808893a692f6205f2555f30198444 sha256sums = SKIP -pkgname = enchant +pkgname = enchant1.6 @@ -1,11 +1,13 @@ # $Id$ -# Maintainer: Felix Yan <felixonmars@gmail.com> +# Maintainer: Jörg Schuck <joerg_schuck@web.de> +# Contributor: Felix Yan <felixonmars@gmail.com> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: dorphell <dorphell@archlinux.org> -pkgname=enchant +pkgname=enchant1.6 +_pkgname=enchant pkgver=1.6.1 -pkgrel=2 +pkgrel=3 pkgdesc="A wrapper library for generic spell checking" arch=('i686' 'x86_64') url="https://abiword.github.io/enchant/" @@ -17,17 +19,17 @@ source=("git+https://github.com/AbiWord/enchant.git#commit=$_commit") sha256sums=('SKIP') pkgver() { - cd $pkgname + cd $_pkgname git describe --tags | sed 's/^enchant-//;s/-/\./g' } prepare() { - cd $pkgname + cd $_pkgname NOCONFIGURE=1 ./autogen.sh } build() { - cd $pkgname + cd $_pkgname ./configure --prefix=/usr \ --disable-static \ --disable-ispell \ @@ -37,6 +39,12 @@ build() { } package() { - cd $pkgname - make DESTDIR="${pkgdir}" install + cd $_pkgname + local _tempdir=$(readlink -f "./maketarget") + make DESTDIR="${_tempdir}" install + + install -dm 755 "${pkgdir}/usr/lib/enchant" + cp -a "${_tempdir}/usr/lib/enchant/"* "${pkgdir}/usr/lib/enchant/." + cp -a "${_tempdir}/usr/lib/libenchant.so.1"* "${pkgdir}/usr/lib/." + } |