summaryrefslogtreecommitdiff
path: root/extra/ftjam/PKGBUILD
blob: d8199c8ee9e6bb598bcaeab8a50906bf52583593 (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
# $Id: PKGBUILD 49903 2009-08-16 20:18:01Z jgc $
# Maintainer: Roman Kyrylych <roman@archlinux.org>
# Contributor: Roman Kyrylych <roman@archlinux.org>

pkgname=ftjam
pkgver=2.5.3rc2
pkgrel=2
pkgdesc='FT Jam - an enhanced version of the Jam build tool'
arch=('i686' 'x86_64' 'mips64el')
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
}