aboutsummaryrefslogtreecommitdiffstats
path: root/main/gd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/gd/APKBUILD')
-rw-r--r--main/gd/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/gd/APKBUILD b/main/gd/APKBUILD
index b824336504..2e96eee33c 100644
--- a/main/gd/APKBUILD
+++ b/main/gd/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=gd
pkgver=2.0.36_rc1
-_myver=2.0.36RC1
+_myver=${pkgver/_rc/RC}
pkgrel=8
pkgdesc="Library for the dynamic creation of images by programmers"
url="http://www.libgd.org/"
@@ -11,7 +11,7 @@ license="custom"
depends=
makedepends="libpng-dev jpeg-dev freetype-dev zlib-dev"
subpackages="$pkgname-dev $pkgname-doc"
-source="http://www.libgd.org/releases/${pkgname}-${_myver}.tar.bz2"
+source="ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${_myver}.tar.bz2"
_builddir="$srcdir"/$pkgname-$_myver
prepare() {