Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

AUR-uuid

By: a guest on Dec 9th, 2012  |  syntax: None  |  size: 0.94 KB  |  hits: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Jeff Cook <jeff@deserettechnology.com>
  2. # Contributor: Michael Asher < michael at we solve every thing dot com >
  3. # Contributor: William Díaz <wdiaz@archlinux.us>
  4.  
  5. pkgname=uuid
  6. pkgver=1.6.2
  7. pkgrel=9
  8. pkgdesc="OSSP Universally Unique Identifier"
  9. arch=('i686' 'x86_64')
  10. url="http://www.ossp.org/pkg/lib/uuid"
  11. license=('MIT')
  12. depends=('sh')
  13. options=('!libtool')
  14. source=("http://old-www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/${pkgname}/${pkgname}-${pkgver}.tar.gz"
  15.         ossp.patch)
  16. md5sums=('5db0d43a9022a6ebbbc25337ae28942f'
  17.          '6f0591cfa3e6d5f70c290963d2c5a0a0')
  18.  
  19. build() {
  20.   cd ${pkgname}-${pkgver}
  21.  
  22.   # Rename because conflicts with util-linux
  23.   #patch -p1 -i "${srcdir}"/ossp.patch
  24.  
  25.   ./configure --prefix=/usr --with-perl
  26.   make
  27. }
  28.  
  29. package() {
  30.   cd ${pkgname}-${pkgver}
  31.   make DESTDIR="${pkgdir}" install
  32.  
  33.   install -Dm644 README \
  34.     "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
  35. }