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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 21:45:54 UTC 2018


    Date: Friday, November 9, 2018 @ 21:45:54
  Author: felixonmars
Revision: 404748

archrelease: copy trunk to multilib-staging-x86_64

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

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

Copied: lib32-libdv/repos/multilib-staging-x86_64/PKGBUILD (from rev 404747, lib32-libdv/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2018-11-09 21:45:54 UTC (rev 404748)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Llewelyn Trahaearn <WoefulDerelict at GMail dot com>
+# Contributor: Limao Luo <luolimao+AUR at gmail dot com>
+
+_pkgname=libdv
+pkgname=lib32-libdv
+pkgver=1.0.0
+pkgrel=5
+pkgdesc="The Quasar DV codec (libdv) is a software codec for DV video (32-bit)"
+arch=('x86_64')
+url="http://libdv.sourceforge.net/"
+license=('LGPL')
+depends=("$_pkgname" 'lib32-popt')
+source=("http://downloads.sourceforge.net/$_pkgname/$_pkgname-${pkgver}.tar.gz")
+sha512sums=('19887a6f452fa7da8924901ad841f5c4a434a3bde56c932ddb43717592aa744281e3a8ad220231e11d7e6bc3b0e704952a8324e5f85d4e088675edceeeca7dc8')
+
+build() {
+  cd "${srcdir}/$_pkgname-${pkgver}"
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  ./configure --prefix=/usr --libdir=/usr/lib32/ --disable-gtk --build=i686-unknown-linux-gnu
+  make
+}
+
+package() {
+  cd "${srcdir}/$_pkgname-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  rm -rf "${pkgdir}/usr/"{bin,include,share}
+}


More information about the arch-commits mailing list