archrelease: copy trunk to extra-x86_64
[arch-packages.git] / compface / trunk / PKGBUILD
blob0a18e504460e0bcefba4524fb361dd3f235cb5ff
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 source=(#$url/$pkgname-$pkgver.tar.gz
14         http://mirrors.ibiblio.org/xemacs/aux/$pkgname-$pkgver.tar.gz
15         compface-1.5.2-build.patch
16         LICENSE)
17 md5sums=('62f4f79c0861ad292ba3cf77b4c48319'
18          '25874b31f97a53f66ceed54f6b422515'
19          '27a0d5a4d695e68b4d3eebe17db77189')
20 sha256sums=('a6998245f530217b800f33e01656be8d1f0445632295afa100e5c1611e4f6825'
21             '5002ad6bd405af37515314b33184d5539603ffad7ad97e50e76e5d00d67eebca'
22             '6f44301a736c5a5ff047d78f6a5e5b32dd6f05974ce0380ec4437ad73912168d')
24 prepare() {
25   cd $pkgname-$pkgver
26   patch -Np0 -i ${srcdir}/compface-1.5.2-build.patch
29 build() {
30   cd $pkgname-$pkgver
31   CFLAGS="$CFLAGS -fPIC"
32   ./configure --prefix=/usr --mandir=/usr/share/man
33   make
36 package() {
37   cd $pkgname-$pkgver
38   make DESTDIR="$pkgdir" STRIP=/bin/true install
40   install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE