mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
added extra/gd
This commit is contained in:
parent
6fc363d2a1
commit
25f7c856d8
1 changed files with 40 additions and 0 deletions
40
extra/gd/PKGBUILD
Normal file
40
extra/gd/PKGBUILD
Normal file
|
@ -0,0 +1,40 @@
|
|||
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - drop depend on libavif so v5 can build
|
||||
|
||||
pkgname=gd
|
||||
pkgver=2.3.2
|
||||
pkgrel=2
|
||||
pkgdesc="Library for the dynamic creation of images by programmers"
|
||||
arch=('x86_64')
|
||||
url="https://libgd.github.io/"
|
||||
license=('custom')
|
||||
depends=('fontconfig' 'libxpm' 'libwebp' '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"
|
||||
}
|
Loading…
Reference in a new issue