archrelease: copy trunk to extra-x86_64
[arch-packages.git] / compface / trunk / PKGBUILD
blob049c783ed00d1e6522da2754c054ef3292e4b3b8
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: simo <simo@archlinux.org> 
3 # Contributor: Manolis Tzanidakis
5 pkgname=compface
6 pkgver=1.5.2
7 pkgrel=11
8 pkgdesc="Utils & libs to convert from/to X-Face format."
9 arch=('x86_64')
10 url="http://ftp.xemacs.org/pub/xemacs/aux/"
11 license=('custom')
12 depends=('glibc')
13 options=('debug')
14 source=(#$url/$pkgname-$pkgver.tar.gz
15         http://mirrors.ibiblio.org/xemacs/aux/$pkgname-$pkgver.tar.gz
16         compface-1.5.2-build.patch
17         LICENSE)
18 md5sums=('62f4f79c0861ad292ba3cf77b4c48319'
19          '25874b31f97a53f66ceed54f6b422515'
20          '27a0d5a4d695e68b4d3eebe17db77189')
21 sha256sums=('a6998245f530217b800f33e01656be8d1f0445632295afa100e5c1611e4f6825'
22             '5002ad6bd405af37515314b33184d5539603ffad7ad97e50e76e5d00d67eebca'
23             '6f44301a736c5a5ff047d78f6a5e5b32dd6f05974ce0380ec4437ad73912168d')
25 prepare() {
26   cd $pkgname-$pkgver
27   patch -Np0 -i ${srcdir}/compface-1.5.2-build.patch
30 build() {
31   cd $pkgname-$pkgver
32   CFLAGS="$CFLAGS -fPIC"
33   ./configure --prefix=/usr --mandir=/usr/share/man
34   make
37 package() {
38   cd $pkgname-$pkgver
39   make DESTDIR="$pkgdir" STRIP=/bin/true install
41   install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE