summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Sun2020-10-02 16:08:37 -0400
committerAndrew Sun2020-10-02 16:08:37 -0400
commitc5884ace65c2dfb2be3c033e0c6b62cd3cfdb80f (patch)
treecdf5ef68ef70ab15de54e15b1670a0849be005da
parent27fe40a2f3f23a108f79725c4b4af053b068d48c (diff)
downloadaur-ansifilter.tar.gz
2.17
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD13
-rw-r--r--ansifilter-flags.patch18
3 files changed, 6 insertions, 33 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e3bf99b3f05..7bce9532924 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ansifilter
pkgdesc = remove or convert ANSI codes to another format
- pkgver = 2.16
+ pkgver = 2.17
pkgrel = 1
url = http://www.andre-simon.de/doku/ansifilter/en/ansifilter.php
arch = i686
@@ -9,10 +9,8 @@ pkgbase = ansifilter
arch = i486
license = GPL3
depends = gcc-libs
- source = http://www.andre-simon.de/zip/ansifilter-2.16.tar.bz2
- source = ansifilter-flags.patch
- sha256sums = 7fcd2fa3520bce2bd3834c299f533cbfb43a29a095c83e8fea372a383dfbbaf2
- sha256sums = 2d2feb27f4e07a78c95d423ecea144e225940508004e023d21c8bb67ae77c72a
+ source = http://www.andre-simon.de/zip/ansifilter-2.17.tar.bz2
+ sha256sums = 5985beb39c960a3cb5b0e70d6a121687043dc8458e5783777ff250303cccc42f
pkgname = ansifilter
diff --git a/PKGBUILD b/PKGBUILD
index 50c69d9870d..68e21248d40 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,22 +2,15 @@
# Contributor: Eric Le Lay <contact at elelay dot fr>
pkgname=ansifilter
-pkgver=2.16
+pkgver=2.17
pkgrel=1
pkgdesc="remove or convert ANSI codes to another format"
arch=('i686' 'x86_64' 'pentium4' 'i486')
url="http://www.andre-simon.de/doku/ansifilter/en/ansifilter.php"
license=('GPL3')
depends=('gcc-libs')
-source=("http://www.andre-simon.de/zip/${pkgname}-${pkgver}.tar.bz2"
- "ansifilter-flags.patch")
-sha256sums=('7fcd2fa3520bce2bd3834c299f533cbfb43a29a095c83e8fea372a383dfbbaf2'
- '2d2feb27f4e07a78c95d423ecea144e225940508004e023d21c8bb67ae77c72a')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/ansifilter-flags.patch"
-}
+source=("http://www.andre-simon.de/zip/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('5985beb39c960a3cb5b0e70d6a121687043dc8458e5783777ff250303cccc42f')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/ansifilter-flags.patch b/ansifilter-flags.patch
deleted file mode 100644
index 77fff83163f..00000000000
--- a/ansifilter-flags.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -Naur ansifilter-2.13.orig/src/makefile ansifilter-2.13/src/makefile
---- ansifilter-2.13.orig/src/makefile 2019-01-06 19:54:57.946093219 -0500
-+++ ansifilter-2.13/src/makefile 2019-01-06 19:57:48.501622737 -0500
-@@ -8,12 +8,12 @@
- #CC=clang++
-
- # Added -std=c++11 because of auto_ptr to unique_ptr transition
--CXXFLAGS= -Wall -O2 -DNDEBUG -std=c++11 -fPIC
-+CXXFLAGS+= -Wall -O2 -DNDEBUG -std=c++11 -fPIC
- #CXXFLAGS= -O0 -ggdb -std=c++11 -fPIC
- #CXXFLAGS="-DNDEBUG -g2 -O3 -march=i686"
- #cov-build --dir cov-int make -j 2
-
--LDFLAGS=
-+LDFLAGS+=
-
- SOURCES=arg_parser.o stringtools.o cmdlineoptions.o main.o platform_fs.o\
- codegenerator.o htmlgenerator.o pangogenerator.o texgenerator.o latexgenerator.o rtfgenerator.o\