blob: d7b325185047d052c7388a59176aed3013faa3a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $Id: PKGBUILD 204047 2014-01-14 16:59:02Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: simo <simo@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=compface
pkgver=1.5.2
pkgrel=6
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
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 $pkgname-$pkgver
CFLAGS="$CFLAGS -fPIC"
./configure --prefix=/usr --mandir=/usr/share/man
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" STRIP=/bin/true install
install -D -m644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|