PKGBUILDs/extra/ftjam/PKGBUILD
2009-10-09 21:23:22 -05:00

30 lines
957 B
Bash

# $Id: PKGBUILD 49982 2009-08-18 09:02:05Z jgc $
# Maintainer: Roman Kyrylych <roman@gmail.com>
# Contributor: Roman Kyrylych <roman@gmail.com>
pkgname=ftjam
pkgver=2.5.3rc2
pkgrel=2
pkgdesc='FT Jam - an enhanced version of the Jam build tool'
arch=('i686' 'x86_64')
url="http://freetype.org/jam/"
license=('custom')
depends=('glibc')
provides=('jam')
conflicts=('jam')
replaces=('jam')
#source=(http://downloads.sourceforge.net/freetype/$pkgname-$pkgver.tar.bz2 \
source=(http://david.freetype.org/jam/${pkgname}-${pkgver}.tar.bz2
license.txt)
md5sums=('911cc4191b3e7213905d107962b4529b'
'2addc259114b4f50a870fa04881e1200')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 "${srcdir}/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}