[arch-commits] Commit in lib32-libdaemon (3 files)

Maxime Gauduin alucryd at archlinux.org
Fri Aug 19 20:24:37 UTC 2016


    Date: Friday, August 19, 2016 @ 20:24:37
  Author: alucryd
Revision: 187095

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-libdaemon/repos/
  lib32-libdaemon/repos/multilib-x86_64/
  lib32-libdaemon/repos/multilib-x86_64/PKGBUILD
    (from rev 187094, lib32-libdaemon/trunk/PKGBUILD)

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

Copied: lib32-libdaemon/repos/multilib-x86_64/PKGBUILD (from rev 187094, lib32-libdaemon/trunk/PKGBUILD)
===================================================================
--- repos/multilib-x86_64/PKGBUILD	                        (rev 0)
+++ repos/multilib-x86_64/PKGBUILD	2016-08-19 20:24:37 UTC (rev 187095)
@@ -0,0 +1,38 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Gicu Gorodenco <cyclopsihus at gmail.com>
+# Contributor: rafael ff1 <rafael.f.f1 at gmail.com>
+
+pkgname=lib32-libdaemon
+pkgver=0.14
+pkgrel=3
+pkgdesc='A lightweight C library which eases the writing of UNIX daemons'
+arch=('x86_64')
+url='http://0pointer.de/lennart/projects/libdaemon/'
+license=('LGPL')
+depends=('lib32-glibc' 'libdaemon')
+makedepends=('gcc-multilib')
+source=("http://0pointer.de/lennart/projects/libdaemon/libdaemon-${pkgver}.tar.gz")
+sha256sums=('fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834')
+
+build() {
+  cd libdaemon-${pkgver}
+
+  export CC='gcc -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  ./configure \
+    --prefix='/usr' \
+    --libdir='/usr/lib32' \
+    --localstatedir='/var' \
+    --disable-lynx
+  make
+}
+
+package() {
+  cd libdaemon-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/{include,share}
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list