[arch-commits] Commit in libmspack/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Christian Hesse eworm at archlinux.org
Fri Aug 10 14:11:08 UTC 2018


    Date: Friday, August 10, 2018 @ 14:11:08
  Author: eworm
Revision: 331336

archrelease: copy trunk to testing-x86_64

Added:
  libmspack/repos/testing-x86_64/
  libmspack/repos/testing-x86_64/PKGBUILD
    (from rev 331335, libmspack/trunk/PKGBUILD)

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

Copied: libmspack/repos/testing-x86_64/PKGBUILD (from rev 331335, libmspack/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-08-10 14:11:08 UTC (rev 331336)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: AndyRTR <andyrtr at archlinux.org>
+
+pkgname=libmspack
+pkgver=0.7.1alpha
+pkgrel=1
+epoch=1
+pkgdesc="A library for Microsoft compression formats"
+url="https://www.cabextract.org.uk/libmspack/"
+arch=(x86_64)
+license=(GPL)
+depends=(glibc)
+makedepends=(git)
+_commit=846db1c3419eca65f8d09b5452063870a65ed9f0  # tags/v0.7.1alpha^0
+source=("git+https://github.com/kyz/libmspack#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare(){
+  cd $pkgname/$pkgname
+  autoreconf -vfi
+}
+
+build() {
+  cd $pkgname/$pkgname
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+check() {
+  cd $pkgname/$pkgname
+  make check
+}
+
+package() {
+  cd $pkgname/$pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list