[arch-commits] Commit in chafa/repos (community-x86_64 community-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Sep 9 21:42:31 UTC 2018
Date: Sunday, September 9, 2018 @ 21:42:30
Author: felixonmars
Revision: 378936
archrelease: copy trunk to community-x86_64
Added:
chafa/repos/community-x86_64/
chafa/repos/community-x86_64/PKGBUILD
(from rev 378935, chafa/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: chafa/repos/community-x86_64/PKGBUILD (from rev 378935, chafa/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-09-09 21:42:30 UTC (rev 378936)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=chafa
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="Image-to-text converter supporting a wide range of symbols and palettes, transparency, animations, etc."
+arch=("x86_64")
+url="https://hpjansson.org/chafa/"
+depends=('libmagick' 'libxslt')
+makedepends=('gtk-doc')
+license=("LGPL")
+source=(https://github.com/hpjansson/chafa/releases/download/$pkgver/chafa-$pkgver.tar.xz{,.sig})
+sha512sums=('37c9050709d6ec2ac8f6c2202e172df0ac8aa85ea398277d4e680412b9671cd117aba55befe60ade6365f94d909fe47a8f93795bf6d6308e7a25f15e2536fbd2'
+ 'SKIP')
+validpgpkeys=('C01EDE5BB0D91E26D003662EC76BB9FEEAD12EA7') # Hans Petter Jansson
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i -e 's|wand/MagickWand.h|MagickWand/MagickWand.h|' \
+ -e 's|$LDFLAGS $MAGICKWAND_LIBS|$MAGICKWAND_LIBS $LDFLAGS|' \
+ configure chafa/chafa.c
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ ./configure --prefix=/usr --enable-man
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list