[arch-commits] Commit in libaec/repos (community-x86_64 community-x86_64/PKGBUILD)

Bruno Pagani archange at archlinux.org
Tue Jan 16 22:00:39 UTC 2018


    Date: Tuesday, January 16, 2018 @ 22:00:38
  Author: archange
Revision: 283526

archrelease: copy trunk to community-x86_64

Added:
  libaec/repos/community-x86_64/
  libaec/repos/community-x86_64/PKGBUILD
    (from rev 283525, libaec/trunk/PKGBUILD)

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

Copied: libaec/repos/community-x86_64/PKGBUILD (from rev 283525, libaec/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-01-16 22:00:38 UTC (rev 283526)
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 281327 2018-01-11 12:54:18Z archange $
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=libaec
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="Adaptive Entropy Coding library"
+arch=('x86_64')
+url='https://gitlab.dkrz.de/k202009/libaec/'
+license=('custom')
+depends=('glibc')
+makedepends=('cmake')
+_md5=b30adc1abf805d7454896ab83c900eb8
+source=("${url}/uploads/${_md5}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('024722866eb859bf926d6f9cb20edd3f26e80a1bdbea1889e9235d5eca3106d0')
+
+prepare() {
+    mkdir -p build
+}
+
+build() {
+    cd build
+    cmake ../${pkgname}-${pkgver} \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_INSTALL_LIBDIR=lib \
+        -DCMAKE_BUILD_TYPE=Release
+    make
+}
+
+package() {
+    cd build
+    make DESTDIR="${pkgdir}" install
+    install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/Copyright.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}



More information about the arch-commits mailing list