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

Timothy Redaelli tredaelli at nymeria.archlinux.org
Wed Jun 19 10:31:58 UTC 2013


    Date: Wednesday, June 19, 2013 @ 12:31:58
  Author: tredaelli
Revision: 92924

archrelease: copy trunk to community-any

Added:
  uthash/repos/community-any/
  uthash/repos/community-any/PKGBUILD
    (from rev 92923, uthash/trunk/PKGBUILD)

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

Copied: uthash/repos/community-any/PKGBUILD (from rev 92923, uthash/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2013-06-19 10:31:58 UTC (rev 92924)
@@ -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
+}
+




More information about the arch-commits mailing list