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

Gaetan Bisson bisson at archlinux.org
Sun Dec 21 10:39:47 UTC 2014


    Date: Sunday, December 21, 2014 @ 11:39:47
  Author: bisson
Revision: 124266

restore original PKGBUILD

Modified:
  gmp-ecm/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-12-21 10:04:25 UTC (rev 124265)
+++ PKGBUILD	2014-12-21 10:39:47 UTC (rev 124266)
@@ -1,6 +1,5 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
 # Contributor: Rémy Oudompheng <oudomphe at phare.normalesup.org>
-# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
 
 pkgname=gmp-ecm
 pkgver=6.4.4
@@ -15,7 +14,7 @@
 sha1sums=('003d259772bd7748854f0fd8722299505c7d5259')
 
 build() {
-	cd ecm-$pkgver
+	cd "${srcdir}/ecm-${pkgver}"
 	[[ $CARCH = *86* ]] && export CFLAGS+=' -msse'
 	./configure --prefix=/usr --enable-shared --enable-openmp
 	# make ecm-params
@@ -23,11 +22,11 @@
 }
 
 check() {
-	cd ecm-$pkgver
+	cd "${srcdir}/ecm-${pkgver}"
 	make check
 }
 
 package() {
-	cd ecm-$pkgver
-	make DESTDIR="$pkgdir" install
+	cd "${srcdir}/ecm-${pkgver}"
+	make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list