[arch-commits] Commit in libmatroska/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sun May 13 08:57:05 UTC 2018
Date: Sunday, May 13, 2018 @ 08:57:04
Author: alucryd
Revision: 324142
archrelease: copy trunk to extra-x86_64
Added:
libmatroska/repos/extra-x86_64/PKGBUILD
(from rev 324141, libmatroska/trunk/PKGBUILD)
Deleted:
libmatroska/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 74 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 41 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-13 08:56:53 UTC (rev 324141)
+++ PKGBUILD 2018-05-13 08:57:04 UTC (rev 324142)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor 03/08/04 <lefungus at altern.org>
-
-pkgname=libmatroska
-pkgver=1.4.8
-pkgrel=1
-pkgdesc='Matroska library'
-arch=('i686' 'x86_64')
-url='https://dl.matroska.org/downloads/libmatroska/'
-license=('LGPL')
-depends=('libebml.so')
-provides=('libmatroska.so')
-source=("https://dl.matroska.org/downloads/libmatroska/libmatroska-${pkgver}.tar.xz")
-sha256sums=('d8c72b20d4c5bf888776884b0854f95e74139b5267494fae1f395f7212d7c992')
-
-build() {
- cd libmatroska-${pkgver}
-
- ./configure \
- --prefix='/usr' \
- --disable-static
- make
-}
-
-package() {
- cd libmatroska-${pkgver}
-
- make prefix="${pkgdir}/usr" install
-}
-
-# vim: ts=2 sw=2 et:
Copied: libmatroska/repos/extra-x86_64/PKGBUILD (from rev 324141, libmatroska/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-13 08:57:04 UTC (rev 324142)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor 03/08/04 <lefungus at altern.org>
+
+pkgname=libmatroska
+pkgver=1.4.9
+pkgrel=1
+pkgdesc='Matroska library'
+arch=('x86_64')
+url='https://dl.matroska.org/downloads/libmatroska/'
+license=('LGPL')
+depends=('libebml.so')
+makedepends=('cmake')
+provides=('libmatroska.so')
+source=("https://dl.matroska.org/downloads/libmatroska/libmatroska-${pkgver}.tar.xz")
+sha256sums=('38a61dd5d87c070928b5deb3922b63b2b83c09e2e4a10f9393eecb6afa9795c8')
+
+prepare() {
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+}
+
+build() {
+ cd build
+
+ cmake ../libmatroska-${pkgver} \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
+ -DBUILD_SHARED_LIBS='ON'
+ make
+}
+
+package() {
+ make DESTDIR="${pkgdir}" -C build install
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list