[arch-commits] Commit in libharu/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at archlinux.org
Thu Aug 20 10:08:43 UTC 2020
Date: Thursday, August 20, 2020 @ 10:08:43
Author: archange
Revision: 685365
archrelease: copy trunk to community-x86_64
Added:
libharu/repos/community-x86_64/PKGBUILD
(from rev 685364, libharu/trunk/PKGBUILD)
Deleted:
libharu/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 43 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-20 10:08:17 UTC (rev 685364)
+++ PKGBUILD 2020-08-20 10:08:43 UTC (rev 685365)
@@ -1,34 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer : SpepS <dreamspepser at yahoo dot it>
-# Contributor: Auguste <auguste at gmail.com>
-# Contributor: Jose Negron <josenj.arch at mailnull.com>
-
-pkgname=libharu
-pkgver=2.3.0
-pkgrel=3
-pkgdesc="C library for generating PDF documents"
-url="https://github.com/libharu/libharu"
-arch=('x86_64')
-license=('custom:ZLIB')
-depends=('libpng' 'gcc-libs')
-source=("https://github.com/libharu/libharu/archive/RELEASE_${pkgver//./_}.tar.gz")
-sha512sums=('ebcabf1e8488e21185a231e97b4c16f9de742ae0ac2ebc7535b72b6b8e2045c2619bc6a94a820f7f923b0dfeceb217408f4e4c613ef3602104373cdf000d3f41')
-
-build() {
- cd "$srcdir/$pkgname-RELEASE_${pkgver//./_}"
- touch include/config.h.in
- aclocal
- libtoolize
- automake --add-missing
- autoconf
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-RELEASE_${pkgver//./_}"
- make DESTDIR="$pkgdir/" install
- # license
- install -d "$pkgdir/usr/share/licenses/$pkgname"
- sed -n '102,120p' README > "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: libharu/repos/community-x86_64/PKGBUILD (from rev 685364, libharu/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-20 10:08:43 UTC (rev 685365)
@@ -0,0 +1,43 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Auguste <auguste at gmail.com>
+# Contributor: Jose Negron <josenj.arch at mailnull.com>
+
+pkgname=libharu
+pkgver=2.3.0
+pkgrel=4
+pkgdesc="C library for generating PDF documents"
+arch=(x86_64)
+url="https://github.com/libharu/libharu"
+license=(custom:ZLIB)
+depends=(libpng gcc-libs)
+source=(${url}/archive/RELEASE_${pkgver//./_}/${pkgname}-${pkgver}.tar.gz
+ ${pkgname}-157.patch::${url}/pull/157.patch
+ ${pkgname}-158.patch::${url}/pull/158.patch)
+sha512sums=('ebcabf1e8488e21185a231e97b4c16f9de742ae0ac2ebc7535b72b6b8e2045c2619bc6a94a820f7f923b0dfeceb217408f4e4c613ef3602104373cdf000d3f41'
+ '3b9474c0dad5e8903cea6af1403d28ce405d33cc7086e116ac5b2f6d9c4274e9c4dcf85c5719b7cae95fe72511bc3c79d65dd6ef440c4b951367f7b8a409386a'
+ 'babf974b91e2b4c1abc8bdcf2a46f6a4b663fad8ff9af995c68a0a85a263c19cb4e13a9b90a058eba4f6a5c11a04e9ac1d43e223384652f3d398041a67fd9cb0')
+
+prepare() {
+ cd ${pkgname}-RELEASE_${pkgver//./_}
+ patch -p1 -i ../${pkgname}-157.patch
+ patch -p1 -i ../${pkgname}-158.patch
+}
+
+build() {
+ cd ${pkgname}-RELEASE_${pkgver//./_}
+ touch include/config.h.in
+ aclocal
+ libtoolize
+ automake --add-missing
+ autoconf
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${pkgname}-RELEASE_${pkgver//./_}
+ make DESTDIR="${pkgdir}" install
+ # license
+ install -d "${pkgdir}"/usr/share/licenses/${pkgname}
+ sed -n '102,120p' README > "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list