desktop/ftjam/PKGBUILD

36 lines
941 B
Bash

#
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
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://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
}