From 1d2f1a1e70011a41d17f2f16d5e90c491ccdabb8 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 Sep 2011 23:14:33 +0000 Subject: Sun Sep 11 23:14:33 UTC 2011 --- extra/compface/PKGBUILD | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'extra/compface/PKGBUILD') diff --git a/extra/compface/PKGBUILD b/extra/compface/PKGBUILD index dd108a6df..98f83cb2c 100644 --- a/extra/compface/PKGBUILD +++ b/extra/compface/PKGBUILD @@ -1,25 +1,28 @@ -# $Id: PKGBUILD 32263 2009-03-29 22:19:00Z eric $ +# $Id: PKGBUILD 137677 2011-09-10 11:50:26Z pierre $ # Maintainer: simo # Contributor: Manolis Tzanidakis -# pkgname=compface pkgver=1.5.2 -pkgrel=2 +pkgrel=3 pkgdesc="Utils & libs to convert from/to X-Face format." -arch=(i686 x86_64) +arch=('i686' 'x86_64') url="http://ftp.xemacs.org/pub/xemacs/aux/" license=('custom') depends=('glibc') -source=($url/$pkgname-$pkgver.tar.gz LICENSE) -md5sums=('62f4f79c0861ad292ba3cf77b4c48319' '27a0d5a4d695e68b4d3eebe17db77189') +source=("$url/$pkgname-$pkgver.tar.gz" 'LICENSE') +md5sums=('62f4f79c0861ad292ba3cf77b4c48319' + '27a0d5a4d695e68b4d3eebe17db77189') build() { cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 - make || return 1 + ./configure --prefix=/usr + make +} + +package() { + cd $srcdir/$pkgname-$pkgver make BINDIR=$pkgdir/usr/bin LIBDIR=$pkgdir/usr/lib MANDIR=$pkgdir/usr/share/man \ - INCLUDEDIR=$pkgdir/usr/include install || return 1 + INCLUDEDIR=$pkgdir/usr/include install install -D -m644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE } -# vim: ts=2 sw=2 et ft=sh -- cgit v1.2.3-54-g00ecf