[arch-commits] Commit in png++/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:49:14 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:49:14
  Author: felixonmars
Revision: 659872

archrelease: copy trunk to community-staging-any

Added:
  png++/repos/community-staging-any/
  png++/repos/community-staging-any/PKGBUILD
    (from rev 659871, png++/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: png++/repos/community-staging-any/PKGBUILD (from rev 659871, png++/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 17:49:14 UTC (rev 659872)
@@ -0,0 +1,40 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Sándor Nagy <sanya868 at gmail.com>
+# Contributor: Jeramy Harrison <dbralir at gmail.com>
+# Contributor: Onni R. <onnir at iki.fi>
+
+pkgname=png++
+pkgver=0.2.10
+pkgrel=2
+pkgdesc='A C++ wrapper for libpng'
+arch=(any)
+url=https://savannah.nongnu.org/projects/pngpp/
+license=(custom)
+depends=(libpng)
+makedepends=(doxygen)
+source=(https://download.savannah.gnu.org/releases/pngpp/png++-${pkgver}.tar.gz)
+validpgpkeys=(FFDEBBD8758B0D1BB9359F6FDAAAD54650B717C8)
+sha256sums=('998af216ab16ebb88543fbaa2dbb9175855e944775b66f2996fc945c8444eee1')
+
+prepare() {
+  cd png++-${pkgver}
+
+  sed "s/0.2.9/${pkgver}/g" -i Makefile
+}
+
+build() {
+  cd png++-${pkgver}
+
+  make docs
+}
+
+package() {
+  cd png++-${pkgver}
+
+  make PREFIX="${pkgdir}/usr" install
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses/png++
+  install -m 644 COPYING "${pkgdir}"/usr/share/licenses/png++/
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list