[arch-commits] Commit in (uthash uthash/repos uthash/trunk uthash/trunk/PKGBUILD)

Timothy Redaelli tredaelli at nymeria.archlinux.org
Wed Jun 19 10:30:50 UTC 2013


    Date: Wednesday, June 19, 2013 @ 12:30:50
  Author: tredaelli
Revision: 92923

Add uthash package

Added:
  uthash/
  uthash/repos/
  uthash/trunk/
  uthash/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Added: uthash/trunk/PKGBUILD
===================================================================
--- uthash/trunk/PKGBUILD	                        (rev 0)
+++ uthash/trunk/PKGBUILD	2013-06-19 10:30:50 UTC (rev 92923)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Michael Frey <mail at mfrey.net>
+pkgname=uthash
+pkgver=1.9.7
+pkgrel=1
+pkgdesc="C preprocessor implementations of a hash table and a linked list"
+arch=('any')
+url="http://uthash.sourceforge.net/"
+license=('BSD')
+source=(http://downloads.sourceforge.net/uthash/$pkgname-$pkgver.tar.bz2)
+sha512sums=('8c02f9ac846a6bfd7292724a3683ae360ff37bba8e3ca98fca106da84976cac9c61766069989ee2c633b20bf82b64658400687a7cfbccab5e98e5fb6cb2e5caa')
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}/src"
+ 
+  # create directory for header files 
+  install -dm755 "${pkgdir}"/usr/include/
+
+  # install header files in /usr/include
+  for h in $(ls -1 *.h); do
+      install -m 644 ${h} "${pkgdir}"/usr/include/
+  done
+
+  # install licence file
+  install -D -m644 ../LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+


Property changes on: uthash/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list