[arch-commits] Commit in libmspack/trunk (PKGBUILD)

Christian Hesse eworm at archlinux.org
Tue Aug 6 06:09:03 UTC 2019


    Date: Tuesday, August 6, 2019 @ 06:09:02
  Author: eworm
Revision: 359237

upgpkg: libmspack 1:0.10.1alpha-1

new upstream release

Modified:
  libmspack/trunk/PKGBUILD

----------+
 PKGBUILD |   36 +++++++++++++-----------------------
 1 file changed, 13 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-06 05:57:26 UTC (rev 359236)
+++ PKGBUILD	2019-08-06 06:09:02 UTC (rev 359237)
@@ -2,41 +2,31 @@
 # Contributor: AndyRTR <andyrtr at archlinux.org>
 
 pkgname=libmspack
-pkgver=0.9.1alpha
+pkgver=0.10.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')
+pkgdesc='A library for Microsoft compression formats'
+url='https://www.cabextract.org.uk/libmspack/'
+arch=('x86_64')
+license=('GPL')
+depends=('glibc')
+makedepends=('git')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/kyz/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('bd8537b04ebd2149819ce867e3eba50f862a8a0043fd2061360b4101eddaa382')
 
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare(){
-  cd $pkgname/$pkgname
+build() {
+  cd $pkgname-${pkgver}/$pkgname
   autoreconf -vfi
-}
-
-build() {
-  cd $pkgname/$pkgname
   ./configure --prefix=/usr --disable-static
   make
 }
 
 check() {
-  cd $pkgname/$pkgname
+  cd $pkgname-${pkgver}/$pkgname
   make check
 }
 
 package() {
-  cd $pkgname/$pkgname
+  cd $pkgname-${pkgver}/$pkgname
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list