summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 763764ca4c3..ced4f8718de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=gp2c
-pkgver=0.0.10
+pkgver=0.0.10.pl1
+_pkgver=${pkgver/.pl/pl}
pkgrel=1
pkgdesc='Translates GP scripts to PARI programs'
url='http://pari.math.u-bordeaux.fr/'
@@ -9,11 +10,11 @@ arch=('i686' 'x86_64' 'armv7h')
license=('GPL')
depends=('pari')
makedepends=('perl')
-source=("${url}pub/pari/GP2C/$pkgname-${pkgver}.tar.gz")
-sha256sums=('e0f89183ae4ea24fc41e1da3df3cca11e4f7061237cee0553082c7806ef917f6')
+source=("${url}pub/pari/GP2C/${pkgname}-${_pkgver}.tar.gz")
+sha256sums=('5bb12e3b57ed015f955a3639354f871840ef5e0f581c17fa30bbaefe77ab0f9a')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${_pkgver}"
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
@@ -24,6 +25,6 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${_pkgver}"
make DESTDIR="${pkgdir}" install
}