diff options
author | root <root@rshg054.dnsready.net> | 2013-10-22 01:11:27 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-22 01:11:27 -0700 |
commit | d5839dd449651d7781de570240f3d0a1a9162320 (patch) | |
tree | 59a51057ead59eda118056ff05b1e2b941fa356b /extra/compface/PKGBUILD | |
parent | 61f20cbeb90ac877764e14b7c4e1c5c08b3e5383 (diff) |
Tue Oct 22 01:11:15 PDT 2013
Diffstat (limited to 'extra/compface/PKGBUILD')
-rw-r--r-- | extra/compface/PKGBUILD | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/extra/compface/PKGBUILD b/extra/compface/PKGBUILD index 98f83cb2c..dc2285f2c 100644 --- a/extra/compface/PKGBUILD +++ b/extra/compface/PKGBUILD @@ -1,28 +1,38 @@ -# $Id: PKGBUILD 137677 2011-09-10 11:50:26Z pierre $ -# Maintainer: simo <simo@archlinux.org> +# $Id: PKGBUILD 197085 2013-10-21 18:34:54Z andyrtr $ +# Maintainer: AndyRTR <andyrtr@archlinux.org> +# Contributor: simo <simo@archlinux.org> # Contributor: Manolis Tzanidakis pkgname=compface pkgver=1.5.2 -pkgrel=3 +pkgrel=4 pkgdesc="Utils & libs to convert from/to X-Face format." arch=('i686' 'x86_64') url="http://ftp.xemacs.org/pub/xemacs/aux/" license=('custom') depends=('glibc') -source=("$url/$pkgname-$pkgver.tar.gz" 'LICENSE') +source=($url/$pkgname-$pkgver.tar.gz + compface-1.5.2-build.patch + LICENSE) md5sums=('62f4f79c0861ad292ba3cf77b4c48319' + '25874b31f97a53f66ceed54f6b422515' '27a0d5a4d695e68b4d3eebe17db77189') +prepare() { + cd $pkgname-$pkgver + patch -Np0 -i ${srcdir}/compface-1.5.2-build.patch +} + build() { - cd $srcdir/$pkgname-$pkgver + cd $pkgname-$pkgver + CFLAGS="$CFLAGS -fPIC" ./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 + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" STRIP=/bin/true install + install -D -m644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE } |