PKGBUILDs/aur/uuid/PKGBUILD
2012-11-27 21:11:14 +01:00

34 lines
899 B
Bash

buildarch=6
# Maintainer: Jeff Cook <jeff@deserettechnology.com>
# Contributor: Michael Asher < michael at we solve every thing dot com >
# Contributor: William Díaz <wdiaz@archlinux.us>
# Contributor: William Díaz <wdiaz@archlinux.us>
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
}