buildarch=6 # Maintainer: Jeff Cook # Contributor: Michael Asher < michael at we solve every thing dot com > # Contributor: William Díaz # Contributor: William Díaz pkgname=uuid pkgver=1.6.2 pkgrel=8 pkgdesc="OSSP Universally Unique Identifier" arch=('i686' 'x86_64') url="http://www.ossp.org/pkg/lib/uuid" license=('MIT') depends=('sh') makedepends=('perl') options=('libtool') source=("http://old-www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/${pkgname}/${pkgname}-${pkgver}.tar.gz" makefile.patch) md5sums=('5db0d43a9022a6ebbbc25337ae28942f' '6936c429a4ed735ebc36adcf66bb1637') build() { cd ${srcdir}/${pkgname}-${pkgver} patch -p1 < ${srcdir}/makefile.patch ./configure --prefix=/usr --with-perl make } package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }