[arch-commits] Commit in gd/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Date: Saturday, April 30, 2022 @ 07:10:08 Author: pierre Revision: 444328 archrelease: copy trunk to staging-x86_64 Added: gd/repos/staging-x86_64/ gd/repos/staging-x86_64/PKGBUILD (from rev 444327, gd/trunk/PKGBUILD) --+ PKGBUILD | 47 +++ 1 file changed, 47 insertions(+) Copied: gd/repos/staging-x86_64/PKGBUILD (from rev 444327, gd/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2022-04-30 07:10:08 UTC (rev 444328) @@ -0,0 +1,47 @@ +# Maintainer: Pierre Schmitz + +pkgname=gd +pkgver=2.3.3 +pkgrel=4 +pkgdesc="Library for the dynamic creation of images by programmers" +arch=('x86_64') +url="https://libgd.github.io/; +license=('custom') +depends=('fontconfig' 'libxpm' 'libwebp' 'libavif' 'libheif') +optdepends=('perl: bdftogd script') +checkdepends=('ttf-liberation') +source=("https://github.com/libgd/libgd/archive/${pkgname}-${pkgver}.tar.gz; + 'https://github.com/libgd/libgd/commit/bdc281eadb1d58d5c0c7bbc1125ee4674256df08.patch') +sha256sums=('24429f9d0dbe0f865aaa4b1a63558242396ba9134e6cfd32ca5e486a84483350' +'1e7bdb17e76ad6b1384222b449b9011ee131d3e1f105f9b30495a9c34b2cd5eb') + +prepare() { + cd libgd-${pkgname}-${pkgver} + + # Re-add macros that are used in PHP + # See https://github.com/php/php-src/pull/7490 + patch -p1 -R -i "$srcdir/bdc281eadb1d58d5c0c7bbc1125ee4674256df08.patch" +} + +build() { + cd libgd-${pkgname}-${pkgver} + + ./bootstrap.sh + ./configure \ +--prefix=/usr \ +--disable-rpath + make +} + +check() { + cd libgd-${pkgname}-${pkgver} + + TMP=$(mktemp -d) make check +} + +package() { + cd libgd-${pkgname}-${pkgver} + + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in gd/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Date: Thursday, October 21, 2021 @ 19:55:57 Author: arojas Revision: 426407 archrelease: copy trunk to staging-x86_64 Added: gd/repos/staging-x86_64/ gd/repos/staging-x86_64/PKGBUILD (from rev 426406, gd/trunk/PKGBUILD) --+ PKGBUILD | 47 +++ 1 file changed, 47 insertions(+) Copied: gd/repos/staging-x86_64/PKGBUILD (from rev 426406, gd/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2021-10-21 19:55:57 UTC (rev 426407) @@ -0,0 +1,47 @@ +# Maintainer: Pierre Schmitz + +pkgname=gd +pkgver=2.3.3 +pkgrel=3 +pkgdesc="Library for the dynamic creation of images by programmers" +arch=('x86_64') +url="https://libgd.github.io/; +license=('custom') +depends=('fontconfig' 'libxpm' 'libwebp' 'libavif' 'libheif') +optdepends=('perl: bdftogd script') +checkdepends=('ttf-liberation') +source=("https://github.com/libgd/libgd/archive/${pkgname}-${pkgver}.tar.gz; + 'https://github.com/libgd/libgd/commit/bdc281eadb1d58d5c0c7bbc1125ee4674256df08.patch') +sha256sums=('24429f9d0dbe0f865aaa4b1a63558242396ba9134e6cfd32ca5e486a84483350' +'2ae91e3e018440c74c1628bac5deed2851234f2b5bfea49bf805312c64d0115e') + +prepare() { + cd libgd-${pkgname}-${pkgver} + + # Re-add macros that are used in PHP + # See https://github.com/php/php-src/pull/7490 + patch -p1 -R -i "$srcdir/bdc281eadb1d58d5c0c7bbc1125ee4674256df08.patch" +} + +build() { + cd libgd-${pkgname}-${pkgver} + + ./bootstrap.sh + ./configure \ +--prefix=/usr \ +--disable-rpath + make +} + +check() { + cd libgd-${pkgname}-${pkgver} + + TMP=$(mktemp -d) make check +} + +package() { + cd libgd-${pkgname}-${pkgver} + + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in gd/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Date: Saturday, June 26, 2021 @ 09:52:43 Author: arojas Revision: 418718 archrelease: copy trunk to staging-x86_64 Added: gd/repos/staging-x86_64/ gd/repos/staging-x86_64/PKGBUILD (from rev 418717, gd/trunk/PKGBUILD) --+ PKGBUILD | 37 + 1 file changed, 37 insertions(+) Copied: gd/repos/staging-x86_64/PKGBUILD (from rev 418717, gd/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2021-06-26 09:52:43 UTC (rev 418718) @@ -0,0 +1,37 @@ +# Maintainer: Pierre Schmitz + +pkgname=gd +pkgver=2.3.2 +pkgrel=4 +pkgdesc="Library for the dynamic creation of images by programmers" +arch=('x86_64') +url="https://libgd.github.io/; +license=('custom') +depends=('fontconfig' 'libxpm' 'libwebp' 'libavif' 'libheif') +optdepends=('perl: bdftogd script') +checkdepends=('ttf-liberation') +source=("https://github.com/libgd/libgd/archive/${pkgname}-${pkgver}.tar.gz;) +sha256sums=('dcc22244d775f469bee21dce1ea42552adbb72ba0cc423f9fa6a64601b3a1893') + +build() { + cd libgd-${pkgname}-${pkgver} + + ./bootstrap.sh + ./configure \ +--prefix=/usr \ +--disable-rpath + make +} + +check() { + cd libgd-${pkgname}-${pkgver} + + make check +} + +package() { + cd libgd-${pkgname}-${pkgver} + + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in gd/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Date: Tuesday, June 15, 2021 @ 20:36:38 Author: arojas Revision: 418337 archrelease: copy trunk to staging-x86_64 Added: gd/repos/staging-x86_64/ gd/repos/staging-x86_64/PKGBUILD (from rev 418336, gd/trunk/PKGBUILD) --+ PKGBUILD | 37 + 1 file changed, 37 insertions(+) Copied: gd/repos/staging-x86_64/PKGBUILD (from rev 418336, gd/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2021-06-15 20:36:38 UTC (rev 418337) @@ -0,0 +1,37 @@ +# Maintainer: Pierre Schmitz + +pkgname=gd +pkgver=2.3.2 +pkgrel=3 +pkgdesc="Library for the dynamic creation of images by programmers" +arch=('x86_64') +url="https://libgd.github.io/; +license=('custom') +depends=('fontconfig' 'libxpm' 'libwebp' 'libavif' 'libheif') +optdepends=('perl: bdftogd script') +checkdepends=('ttf-liberation') +source=("https://github.com/libgd/libgd/archive/${pkgname}-${pkgver}.tar.gz;) +sha256sums=('dcc22244d775f469bee21dce1ea42552adbb72ba0cc423f9fa6a64601b3a1893') + +build() { + cd libgd-${pkgname}-${pkgver} + + ./bootstrap.sh + ./configure \ +--prefix=/usr \ +--disable-rpath + make +} + +check() { + cd libgd-${pkgname}-${pkgver} + + make check +} + +package() { + cd libgd-${pkgname}-${pkgver} + + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}