summaryrefslogtreecommitdiff
path: root/community/uuid/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-21 01:09:07 -0700
committerroot <root@rshg054.dnsready.net>2013-07-21 01:09:07 -0700
commit35742ff57b7b052dff497273e238578aa091407d (patch)
treea231804ef602873a57537a255455685512bd512f /community/uuid/PKGBUILD
parent5dcf6953607ce10f7479bba20fae43fe6d814f2b (diff)
Sun Jul 21 01:08:40 PDT 2013
Diffstat (limited to 'community/uuid/PKGBUILD')
-rw-r--r--community/uuid/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/uuid/PKGBUILD b/community/uuid/PKGBUILD
new file mode 100644
index 000000000..1c7c63dc4
--- /dev/null
+++ b/community/uuid/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 94316 2013-07-20 03:45:40Z dwallace $
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred.com`
+# Contributor: Jeff Cook <jeff@deserettechnology.com>
+# Contributor: Michael Asher < michael at we solve every thing dot com >
+# Contributor: William Díaz <wdiaz@archlinux.us>
+# Contributor: vwyodajl <donjuansjiz GmaIL com>
+
+pkgname=uuid
+pkgver=1.6.2
+pkgrel=12
+pkgdesc="OSSP Universally Unique Identifier"
+arch=('i686' 'x86_64')
+url="http://www.ossp.org/pkg/lib/uuid"
+license=('MIT')
+depends=('sh')
+options=('!libtool' '!emptydirs')
+source=("http://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ ossp.patch)
+md5sums=('5db0d43a9022a6ebbbc25337ae28942f'
+ '6f0591cfa3e6d5f70c290963d2c5a0a0')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ # Rename because conflicts with util-linux
+ patch -p1 -i "${srcdir}"/ossp.patch
+ ./configure --prefix=/usr \
+ --sbindir=/usr/bin \
+ --disable-static \
+ --bindir=/usr/bin
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 README \
+ "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}