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

Christian Hesse eworm at archlinux.org
Thu Dec 20 07:24:59 UTC 2018


    Date: Thursday, December 20, 2018 @ 07:24:59
  Author: eworm
Revision: 342593

archrelease: copy trunk to testing-x86_64

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

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

Copied: libmspack/repos/testing-x86_64/PKGBUILD (from rev 342592, libmspack/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-12-20 07:24:59 UTC (rev 342593)
@@ -0,0 +1,42 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: AndyRTR <andyrtr at archlinux.org>
+
+pkgname=libmspack
+pkgver=0.9.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=80fb91f3680f5acf96fd372b95c9b6205e0e9cbf  # tags/v0.9.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