summaryrefslogtreecommitdiff
path: root/extra/libcaca/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-18 23:15:35 +0000
committerroot <root@rshg054.dnsready.net>2012-02-18 23:15:35 +0000
commit1098e9db0acc5bb5c45af5778492faf3b4c99dd6 (patch)
tree24f65718bdb292fc62194464db8bee1348c48ee5 /extra/libcaca/PKGBUILD
parentb31146f2405c7d0f50bcc36b682af46be84cdeb8 (diff)
Sat Feb 18 23:15:35 UTC 2012
Diffstat (limited to 'extra/libcaca/PKGBUILD')
-rw-r--r--extra/libcaca/PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/extra/libcaca/PKGBUILD b/extra/libcaca/PKGBUILD
index 65485d162..d937e8dc5 100644
--- a/extra/libcaca/PKGBUILD
+++ b/extra/libcaca/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 71245 2010-03-05 16:17:11Z jgc $
+# $Id: PKGBUILD 150463 2012-02-18 00:19:31Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libcaca
pkgver=0.99.beta17
-pkgrel=1
+pkgrel=2
pkgdesc="Color AsCii Art library"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://libcaca.zoy.org/"
-depends=('imlib2' 'ncurses>=5.7')
+depends=('imlib2' 'ncurses')
options=(!libtool !emptydirs)
source=(http://libcaca.zoy.org/files/libcaca/${pkgname}-${pkgver}.tar.gz)
md5sums=('790d6e26b7950e15909fdbeb23a7ea87')
@@ -17,7 +17,11 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --mandir=/usr/share/man \
--enable-shared --disable-doc \
- --disable-cxx --disable-gl --disable-csharp || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ --disable-cxx --disable-gl --disable-csharp
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}