Skip to content

Commit

Permalink
aspell-fr: Fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexpux committed Nov 3, 2018
1 parent e2e6fb9 commit 3a3077c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions mingw-w64-aspell-fr/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,34 @@
_realname=aspell-fr
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=0.50
_pkgver=0.50
_rel=3
pkgver=${_pkgver}.${_rel}
pkgrel=1
pkgdesc="French dictionary for aspell (mingw-w64)"
arch=('any')
url="http://aspell.net/"
license=('custom')
depends=("${MINGW_PACKAGE_PREFIX}-aspell")
source=(https://ftp.gnu.org/gnu/aspell/dict/fr/aspell-fr-${pkgver}-3.tar.bz2
source=(https://ftp.gnu.org/gnu/aspell/dict/fr/aspell-fr-${_pkgver}-${_rel}.tar.bz2
001-unixy-dirs.patch)
sha256sums=('f9421047519d2af9a7a466e4336f6e6ea55206b356cd33c8bd18cb626bf2ce91'
'86f8671c97d27b24656d22edc215e75b8cab32733967f86bfc57b6680d2fdee5')

prepare() {
cd "${srcdir}/aspell-fr-${pkgver}-3"
cd "${srcdir}/aspell-fr-${_pkgver}-${_rel}"
patch -p1 -i ${srcdir}/001-unixy-dirs.patch
}

build() {
cd "${srcdir}/aspell-fr-${pkgver}-3"
cd "${srcdir}/aspell-fr-${_pkgver}-${_rel}"
./configure
sed -i 's/C\:\\msys64\\/\//' Makefile
make
}

package() {
cd "${srcdir}/aspell-fr-${pkgver}-3"
cd "${srcdir}/aspell-fr-${_pkgver}-${_rel}"
make DESTDIR="${pkgdir}" install

install -D -m644 Copyright "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/LICENSE"
Expand Down

0 comments on commit 3a3077c

Please sign in to comment.