summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gregoratto2019-02-26 10:21:43 +1100
committerStephen Gregoratto2019-02-26 10:24:02 +1100
commitb358fc2ebc9bd7b6ff2ad2a9945f089e2236758e (patch)
treecd4a7a9996dc3161721cf226564003c1255a8c5a
parent3d18eefd4747cac0da21ca1f946cd0061af4d921 (diff)
downloadaur-b358fc2ebc9bd7b6ff2ad2a9945f089e2236758e.tar.gz
change email address, update config.mk patch
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
-rw-r--r--sfeed-git.patch40
3 files changed, 26 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index eea11aebfd3..8511e7cf675 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = sfeed-git
pkgdesc = RSS and Atom parser
- pkgver = 0.9.7.r0.ge59ad05
+ pkgver = 0.9.8.r3.gb3c9ad3
pkgrel = 2
- url = https://git.codemadness.org/sfeed
+ url = https://codemadness.org/sfeed-simple-feed-parser.html
arch = i686
arch = x86_64
arch = armv6h
@@ -14,7 +14,7 @@ pkgbase = sfeed-git
source = sfeed::git+git://git.codemadness.org/sfeed
source = sfeed-git.patch
sha256sums = SKIP
- sha256sums = facc036a5025d52f1ae10aa9b096a86e79072854bfb7e5ab9f5dc5d4d30c20e8
+ sha256sums = 1700a32d9c79b63d48ee4a84fe8d9127a368c8e7c9911108a49df140f000b8ce
pkgname = sfeed-git
diff --git a/PKGBUILD b/PKGBUILD
index 383b7a3cabd..c14726355f6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,18 @@
-# Maintainer: KingofToasters <themanhimself at sgregoratto dot me>
+# Maintainer: KingofToasters <dev at sgregoratto dot me>
pkgname=sfeed-git
-pkgver=0.9.7.r0.ge59ad05
+pkgver=0.9.8.r3.gb3c9ad3
pkgrel=2
pkgdesc='RSS and Atom parser'
-url='https://git.codemadness.org/sfeed'
+url='https://codemadness.org/sfeed-simple-feed-parser.html'
license=('ISC')
provides=('sfeed')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
-makedepends=('git')
depends=('curl')
+makedepends=('git')
source=("${pkgname%-git}::git+git://git.codemadness.org/sfeed"
"sfeed-git.patch")
sha256sums=('SKIP'
- 'facc036a5025d52f1ae10aa9b096a86e79072854bfb7e5ab9f5dc5d4d30c20e8')
+ '1700a32d9c79b63d48ee4a84fe8d9127a368c8e7c9911108a49df140f000b8ce')
pkgver() {
cd "${pkgname%-git}"
diff --git a/sfeed-git.patch b/sfeed-git.patch
index b13a481844c..44942dfcf00 100644
--- a/sfeed-git.patch
+++ b/sfeed-git.patch
@@ -1,35 +1,31 @@
Chunk 1: Change PREFIX and MANPREFIX variables
-Chunk 2: Append local (C|CXX|LD)FLAGS, change _BSD_SOURCE define
- to _DEFAULT_SOURCE
-diff -ura sfeed.orig/config.mk sfeed.new/config.mk
---- sfeed.orig/config.mk 2019-01-18 00:18:57.872915214 +1100
-+++ sfeed.new/config.mk 2019-01-18 00:19:40.113859873 +1100
-@@ -1,8 +1,8 @@
+Chunk 2: Append local (C|CXX|LD)FLAGS, use _DEFALUT SOURCE
+diff -ura sfeed.old/config.mk sfeed.new/config.mk
+--- sfeed.old/config.mk 2019-02-26 10:16:47.944146690 +1100
++++ sfeed.new/config.mk 2019-02-26 10:17:47.225309885 +1100
+@@ -1,9 +1,9 @@
# customize below to fit your system
# paths
-PREFIX = /usr/local
-MANPREFIX = ${PREFIX}/man
+-DOCPREFIX = ${PREFIX}/share/doc/sfeed
+PREFIX = /usr
+MANPREFIX = ${PREFIX}/share/man
++DOCPREFIX = ${PREFIX}/share/doc/sfeed-git
# compiler and linker
CC = cc
-diff -ura sfeed.orig/config.mk sfeed.new/config.mk
---- sfeed.orig/config.mk 2019-01-17 23:01:44.402627527 +1100
-+++ sfeed.new/config.mk 2019-01-17 23:14:29.356401258 +1100
-@@ -14,11 +14,11 @@
- #LDFLAGS =
-
- # optimized
--CFLAGS = -O2 -std=c99
--LDFLAGS = -s
-+CFLAGS += -O2 -std=c99
-+LDFLAGS += -s
+@@ -11,9 +11,9 @@
+ RANLIB = ranlib
- # optimized static
- #CFLAGS = -static -O2 -std=c99
- #LDFLAGS = -static -s
+ # use system flags.
+-SFEED_CFLAGS = ${CFLAGS}
+-SFEED_LDFLAGS = ${LDFLAGS}
+-SFEED_CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
++SFEED_CFLAGS = ${CFLAGS}
++SFEED_LDFLAGS = ${LDFLAGS}
++SFEED_CPPFLAGS = ${CPPFLAGS} -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE
--CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
-+CPPFLAGS += -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE
+ # debug
+ #SFEED_CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic \