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

Felix Yan felixonmars at archlinux.org
Sat Oct 27 16:08:36 UTC 2018


    Date: Saturday, October 27, 2018 @ 16:08:36
  Author: felixonmars
Revision: 337386

upgpkg: aspell 0.60.7rc1-1

Modified:
  aspell/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-27 16:07:37 UTC (rev 337385)
+++ PKGBUILD	2018-10-27 16:08:36 UTC (rev 337386)
@@ -1,4 +1,4 @@
-# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
 # Contributor: Jochem Kossen <j.kossen at home.nl>
 # Contributor: dorphell <dorphell at archlinux.org>
 # Contributor: Thayer Williams <thayer at archlinux.org>
@@ -5,9 +5,10 @@
 # Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=aspell
-pkgver=0.60.6.1
+_pkgver=0.60.7-rc1
+pkgver=${_pkgver/-/}
 _pkgmajorver=0.60
-pkgrel=5
+pkgrel=1
 pkgdesc="A spell checker designed to eventually replace Ispell"
 arch=('x86_64')
 url="http://aspell.net/"
@@ -14,18 +15,18 @@
 license=('LGPL')
 depends=('gcc-libs' 'ncurses')
 optdepends=('perl: to import old dictionaries')
-source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('e66a9c9af6a60dc46134fdacf6ce97d7')
-sha1sums=('ff1190db8de279f950c242c6f4c5d5cdc2cbdc49')
+source=("https://github.com/GNUAspell/aspell/archive/rel-$_pkgver.tar.gz")
+sha512sums=('8ba34c2de543f82d4f638dca945a6e465e3c21ffd1b8a2f08b6c6b7b326c78d15c35607257e2e9939c61e95fc06951d06249eb5d2847a8750b592c11d4402875')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd $pkgname-rel-$_pkgver
+  PERL_USE_UNSAFE_INC=1 ./autogen
   ./configure --prefix=/usr --sysconfdir=/etc
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-  ln -s ${pkgname}-${_pkgmajorver} "${pkgdir}/usr/lib/${pkgname}"
+  cd $pkgname-rel-$_pkgver
+  make DESTDIR="$pkgdir" install
+  ln -s $pkgname-$_pkgmajorver "$pkgdir"/usr/lib/$pkgname
 }



More information about the arch-commits mailing list