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

Pierre Schmitz pierre at archlinux.org
Sat Jan 30 08:21:42 UTC 2021


    Date: Saturday, January 30, 2021 @ 08:21:42
  Author: pierre
Revision: 406917

upgpkg: gd 2.3.1-1

Modified:
  gd/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-30 01:08:12 UTC (rev 406916)
+++ PKGBUILD	2021-01-30 08:21:42 UTC (rev 406917)
@@ -1,7 +1,7 @@
 # Maintainer: Pierre Schmitz <pierre at archlinux.de>
 
 pkgname=gd
-pkgver=2.3.0
+pkgver=2.3.1
 pkgrel=1
 pkgdesc="Library for the dynamic creation of images by programmers"
 arch=('x86_64')
@@ -10,12 +10,13 @@
 depends=('fontconfig' 'libxpm' 'libwebp')
 optdepends=('perl: bdftogd script')
 checkdepends=('ttf-liberation')
-source=("https://github.com/libgd/libgd/releases/download/gd-${pkgver}/libgd-${pkgver}.tar.xz")
-sha1sums=('ec75c84aa6326a7ade3302d5c18471f440b2ca1e')
+source=("https://github.com/libgd/libgd/archive/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('795978dcec1bf931148ebcdca9ed1e9cdfa9e71acff8bf035a8867dd1f7af6cd')
 
 build() {
-  cd libgd-${pkgver}
+  cd libgd-${pkgname}-${pkgver}
 
+  ./bootstrap.sh
   ./configure \
     --prefix=/usr \
     --disable-rpath
@@ -23,13 +24,13 @@
 }
 
 check() {
-  cd libgd-${pkgver}
+  cd libgd-${pkgname}-${pkgver}
 
   make check
 }
 
 package() {
-  cd libgd-${pkgver}
+  cd libgd-${pkgname}-${pkgver}
 
   make DESTDIR="${pkgdir}" install
   install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"



More information about the arch-commits mailing list