PKGBUILDs/aur/uuid/PKGBUILD

46 lines
1.4 KiB
Bash
Raw Normal View History

2013-01-12 00:24:04 +00:00
# Contributor: Jeff Cook <jeff@deserettechnology.com>
# Contributor: Michael Asher < michael at we solve every thing dot com >
# Contributor: William Díaz <wdiaz@archlinux.us>
2013-01-12 00:24:04 +00:00
# Maintainer: vwyodajl <donjuansjiz GmaIL com>
### I AM ONLY THE PACKAGER, NOT THE DEVELOPER
### Please ask support questions about this software in one of:
### 1) The AUR comments; OR
### 2) Upstream forums/maillist etc; OR
### 3) The ArchLinux forums
### I do not always know enough about the software itself, or don't have the
### time to promptly respond to direct emails.
### If you have found a problem with the package/PKGBUILD (as opposed to
### the software) then please do email me or post an AUR comment.
pkgname=uuid
pkgver=1.6.2
2013-01-12 00:24:04 +00:00
pkgrel=11
pkgdesc="OSSP Universally Unique Identifier"
arch=('i686' 'x86_64')
url="http://www.ossp.org/pkg/lib/uuid"
license=('MIT')
depends=('sh')
2013-01-12 00:24:04 +00:00
options=('!libtool')
source=("http://old-www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/${pkgname}/${pkgname}-${pkgver}.tar.gz"
2013-01-12 00:24:04 +00:00
ossp.patch)
md5sums=('5db0d43a9022a6ebbbc25337ae28942f'
2013-01-12 00:24:04 +00:00
'6f0591cfa3e6d5f70c290963d2c5a0a0')
build() {
2013-01-12 00:24:04 +00:00
cd ${pkgname}-${pkgver}
# Rename because conflicts with util-linux
patch -p1 -i "${srcdir}"/ossp.patch
./configure --prefix=/usr --with-perl
make
}
package() {
2013-01-12 00:24:04 +00:00
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm644 README \
"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}