diff options
Diffstat (limited to 'community/agg/PKGBUILD')
-rw-r--r-- | community/agg/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/agg/PKGBUILD b/community/agg/PKGBUILD new file mode 100644 index 000000000..4ac0172da --- /dev/null +++ b/community/agg/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 55569 2011-09-14 10:30:07Z andrea $ +# Maintainer: Jonathan Conder <jonno dot conder at gmail dot com> + +pkgname=agg +pkgver=2.5 +pkgrel=4 +pkgdesc="A High Quality Rendering Engine for C++" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.antigrain.com/" +license=('GPL') +depends=('gcc-libs' 'sdl' 'freetype2') +provides=('antigrain') +replaces=('antigrain') +options=('!libtool' '!makeflags') +source=("http://www.antigrain.com/${pkgname}-${pkgver}.tar.gz" + agg-2.4-depends.patch + agg-2.5-pkgconfig.patch) +md5sums=('0229a488bc47be10a2fee6cf0b2febd6' + '22f8e48c137d25038181c86d5e40b110' + '43a19a7b1564c591e56c8d09a0fd8da5') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/agg-2.4-depends.patch" + patch -Np1 -i "${srcdir}/agg-2.5-pkgconfig.patch" + sh ./autogen.sh + ./configure --prefix=/usr --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |