From a1b0ea87a5ba6f165d1293dd966297cf63070936 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 6 Mar 2018 20:16:44 +0000
Subject: libcaca: update to 0.99.beta19

---
 abs/core/libcaca/PKGBUILD | 31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)

diff --git a/abs/core/libcaca/PKGBUILD b/abs/core/libcaca/PKGBUILD
index 40bc0ab..4d436eb 100644
--- a/abs/core/libcaca/PKGBUILD
+++ b/abs/core/libcaca/PKGBUILD
@@ -1,27 +1,28 @@
-# $Id: PKGBUILD 71245 2010-03-05 16:17:11Z jgc $
+# $Id$
 # Maintainer: Jan de Groot <jgc@archlinux.org>
 
 pkgname=libcaca
-pkgver=0.99.beta17
-pkgrel=2
+pkgver=0.99.beta19
+pkgrel=1
 pkgdesc="Color AsCii Art library"
-arch=('i686' 'x86_64')
-license=('LGPL')
-url="http://libcaca.zoy.org/"
-depends=('imlib2' 'ncurses>=5.7')
-options=(!libtool !emptydirs)
+arch=('x86_64')
+license=('custom:WTFPL')
+url="http://caca.zoy.org/wiki/libcaca"
+depends=('imlib2' 'ncurses')
+options=(!emptydirs)
 source=(http://libcaca.zoy.org/files/libcaca/${pkgname}-${pkgver}.tar.gz)
-md5sums=('790d6e26b7950e15909fdbeb23a7ea87')
+md5sums=('a3d4441cdef488099f4a92f4c6c1da00')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr --mandir=/usr/share/man \
-    --enable-shared --disable-doc --disable-java \
-    --disable-cxx --disable-gl --disable-csharp || return 1
-  make || return 1
+    --enable-shared --disable-doc  --disable-java \
+    --disable-cxx --disable-gl --disable-csharp --disable-static
+  make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install || return 1
+  cd $pkgname-$pkgver
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/libcaca/COPYING"
 }
-- 
cgit v0.12

