aboutsummaryrefslogtreecommitdiffstats
path: root/community/farbfeld
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2018-04-11 17:38:31 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2018-04-11 17:38:31 +0200
commitef59c8a906b847ad8d002c459418c1fbc22d3404 (patch)
tree8edc4135c8a79cef2cc7f785aa265b54872902b2 /community/farbfeld
parentaa6eef139c61e79389e0ec4aca07b8f34ed44de1 (diff)
downloadaports-ef59c8a906b847ad8d002c459418c1fbc22d3404.tar.bz2
aports-ef59c8a906b847ad8d002c459418c1fbc22d3404.tar.xz
community/farbfeld: upgrade to 4
Diffstat (limited to 'community/farbfeld')
-rw-r--r--community/farbfeld/APKBUILD13
-rw-r--r--community/farbfeld/gcc6-fixes.patch12
2 files changed, 5 insertions, 20 deletions
diff --git a/community/farbfeld/APKBUILD b/community/farbfeld/APKBUILD
index 5a89b5f308..d9bf1a9b70 100644
--- a/community/farbfeld/APKBUILD
+++ b/community/farbfeld/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=farbfeld
-pkgver=3
-pkgrel=1
+pkgver=4
+pkgrel=0
pkgdesc="Lossless image format which is easy to parse, pipe and compress"
url="https://tools.suckless.org/farbfeld/"
arch="all"
@@ -12,8 +12,7 @@ makedepends="libpng-dev libjpeg-turbo-dev"
install=""
options="!check"
subpackages="$pkgname-doc"
-source="https://dl.suckless.org/$pkgname/$pkgname-$pkgver.tar.gz
- gcc6-fixes.patch"
+source="https://dl.suckless.org/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
@@ -30,13 +29,11 @@ build() {
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" PREFIX=/usr \
- MANPREFIX=/usr/share/man install
+ make DESTDIR="$pkgdir" PREFIX=/usr install
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
install -m644 README FORMAT \
"$pkgdir"/usr/share/doc/$pkgname/
}
-sha512sums="4f1e44282810bd2724f78857bcde401b82945375c5472b31e39250d660efffd425e0a2da5aecf0133ad3d414c31214d073d00f519bc83960b5bbfd53df3b1c49 farbfeld-3.tar.gz
-884bf16aa5e88de6d538f8acd5011326dddee4e5a35ca95b70691d012b9238e88325c2cf69acae072960347146972161a40e0c540d0ec7dd4e536426143c8c83 gcc6-fixes.patch"
+sha512sums="5139dd81cf1e3cb7a32108c0acad0e4ae0de13e86b997f1a759aa1b1f7be6c1ad2a93a69af7126e3512a7c9b1669a2a301ff60171b098b3450f1da0594e3b6ac farbfeld-4.tar.gz"
diff --git a/community/farbfeld/gcc6-fixes.patch b/community/farbfeld/gcc6-fixes.patch
deleted file mode 100644
index 6cd8a287be..0000000000
--- a/community/farbfeld/gcc6-fixes.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -upr farbfeld-3.orig/Makefile farbfeld-3/Makefile
---- farbfeld-3.orig/Makefile 2017-04-15 11:29:09.298371171 +0200
-+++ farbfeld-3/Makefile 2017-04-15 11:30:24.244786006 +0200
-@@ -23,7 +23,7 @@ $(BIN): $(REQ:=.o)
- $(BIN:=.o): config.mk $(HDR) $(REQ:=.h)
-
- .o:
-- $(CC) $(LDFLAGS) $($*-LDFLAGS) -o $@ $< $(REQ:=.o)
-+ $(CC) $< $(REQ:=.o) -o $@ $(LDFLAGS) $($*-LDFLAGS)
-
- clean:
- rm -f $(BIN) $(BIN:=.o) $(REQ:=.o)