[arch-commits] Commit in libgdiplus/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue May 19 08:38:12 UTC 2020
Date: Tuesday, May 19, 2020 @ 08:38:11
Author: felixonmars
Revision: 386409
archrelease: copy trunk to staging-x86_64
Added:
libgdiplus/repos/staging-x86_64/
libgdiplus/repos/staging-x86_64/PKGBUILD
(from rev 386407, libgdiplus/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: libgdiplus/repos/staging-x86_64/PKGBUILD (from rev 386407, libgdiplus/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-19 08:38:11 UTC (rev 386409)
@@ -0,0 +1,41 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Daniel Isenmann <daniel at archlinux.org>
+
+pkgname=libgdiplus
+pkgver=5.6.1
+pkgrel=3
+url='https://www.mono-project.com/docs/gui/libgdiplus/'
+pkgdesc='Open Source Implementation of the GDI+ API'
+arch=('x86_64')
+license=('MPL' 'LGPL')
+depends=('libtiff' 'libjpeg' 'libpng' 'cairo' 'giflib' 'libgif.so' 'glib2'
+ 'libexif' 'zlib' 'freetype2')
+source=(https://github.com/mono/libgdiplus/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('deff863023950b1d1de7e47e44fc31c8ba39cfc06334737261965f697b2ad312')
+sha512sums=('fe6a798da6ad194d4e1d3ce2ebb71a43d3f2f3d198bdf053e8a03e861c81c1c838f3d5d60cfde6b1d6f662fb7f9c2192a9acc89c30a65999e841f4ad7b180baf')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ autoreconf -fiv
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --with-cairo=system
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -Dm 644 NEWS README TODO AUTHORS ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list