summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Ostuni2017-06-24 12:39:37 +0200
committerDario Ostuni2017-06-24 12:39:37 +0200
commitc6626aff5a67a7e573d4cd7d91585bba4a6b97de (patch)
tree6b9acb533f0fefb71a692f8e6cccd4c2ba266b2a
parent23b23d0087f5dd9a2cbf9eaae5b3ec341e8db7bd (diff)
downloadaur-c6626aff5a67a7e573d4cd7d91585bba4a6b97de.tar.gz
fix
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
-rw-r--r--fix_pc_file.patch11
3 files changed, 3 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4d2d5b3e61e..0fab01c5c1f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Sat Jun 24 10:37:49 UTC 2017
+# Sat Jun 24 10:39:34 UTC 2017
pkgbase = cgicc
pkgdesc = C++ library that simplifies the creation of CGI applications
pkgver = 3.2.17
@@ -10,9 +10,7 @@ pkgbase = cgicc
license = LGPL3
makedepends = doxygen
source = https://ftp.gnu.org/gnu/cgicc/cgicc-3.2.17.tar.gz
- source = fix_pc_file.patch
sha256sums = 912108160d5ccbd00a3d215c54a1d855cd9df7247bcf8cddbb1727a6bbfa7347
- sha256sums = c1022b2529cc4264b9c8fef1b231c4e62507af293db759a8498d81adbaba193b
pkgname = cgicc
diff --git a/PKGBUILD b/PKGBUILD
index c3aeec5f977..a0207723e22 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,14 +8,11 @@ url="https://www.gnu.org/software/cgicc/"
license=('LGPL3')
makedepends=('doxygen')
options=()
-source=("https://ftp.gnu.org/gnu/cgicc/$pkgname-$pkgver.tar.gz"
- "fix_pc_file.patch")
-sha256sums=('912108160d5ccbd00a3d215c54a1d855cd9df7247bcf8cddbb1727a6bbfa7347'
- 'c1022b2529cc4264b9c8fef1b231c4e62507af293db759a8498d81adbaba193b')
+source=("https://ftp.gnu.org/gnu/cgicc/$pkgname-$pkgver.tar.gz")
+sha256sums=('912108160d5ccbd00a3d215c54a1d855cd9df7247bcf8cddbb1727a6bbfa7347')
build() {
cd "$pkgname-$pkgver"
- patch -p2 -b -z .orig < "${srcdir}/fix_pc_file.patch"
./configure --prefix=/usr
make
}
diff --git a/fix_pc_file.patch b/fix_pc_file.patch
deleted file mode 100644
index fbab1ab8212..00000000000
--- a/fix_pc_file.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/cgicc-3.2.17/cgicc.pc.in.orig 2015-11-11 20:54:03.569298259 -0500
-+++ src/cgicc-3.2.17/cgicc.pc.in 2015-11-11 20:54:09.266042294 -0500
-@@ -7,5 +7,5 @@
- Description: GNU cgicc is an ANSI C++ compliant class library that greatly simplifies the creation of CGI applications for the World Wide Web.
- Requires:
- Version: @VERSION@
--Libs: -L${libdir}
--Cflags:
-\ No newline at end of file
-+Libs: -L${libdir} -lcgicc
-+Cflags: -I${includedir}