[arch-commits] Commit in lib32-libavc1394/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 22:49:17 UTC 2018


    Date: Friday, November 9, 2018 @ 22:49:17
  Author: foutrelis
Revision: 405093

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-libavc1394/repos/multilib-staging-x86_64/
  lib32-libavc1394/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 405092, lib32-libavc1394/trunk/PKGBUILD)

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

Copied: lib32-libavc1394/repos/multilib-staging-x86_64/PKGBUILD (from rev 405092, lib32-libavc1394/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2018-11-09 22:49:17 UTC (rev 405093)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Robert Emil Berge <robert at rebi.no>
+
+_pkgname=libavc1394
+pkgname=lib32-libavc1394
+pkgver=0.5.4
+pkgrel=2
+pkgdesc="A library to control A/V devices using the 1394ta AV/C commands (32-bit)"
+arch=("x86_64")
+url="http://sourceforge.net/projects/libavc1394/"
+license=('LGPL')
+depends=('lib32-libraw1394' 'libavc1394')
+source=("http://downloads.sourceforge.net/sourceforge/libavc1394/${_pkgname}-${pkgver}.tar.gz")
+md5sums=('caf0db059d8b8d35d6f08e6c0e1c7dfe')
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  ./configure --build=i686-pc-linux-gnu --prefix=/usr --libdir=/usr/lib32 --mandir=/usr/share/man --disable-static
+  make
+}
+
+package() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  rm -r "$pkgdir"/usr/{bin,share,include}
+}


More information about the arch-commits mailing list