diff options
author | Matt Coffin | 2019-06-10 03:11:12 -0600 |
---|---|---|
committer | Matt Coffin | 2019-06-10 03:11:12 -0600 |
commit | 50b2c8233f7640b1372587dbc112cac3de583f53 (patch) | |
tree | 9134086d9545c6e493bb0d4c4304beecbab93249 | |
parent | 4a58731c6a40957cd2a5236a4f702dd9d9d0a904 (diff) | |
download | aur-50b2c8233f7640b1372587dbc112cac3de583f53.tar.gz |
Update to new official repository and build system, and rename with new arch naming
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 22 insertions, 26 deletions
@@ -1,21 +1,20 @@ -# Generated by mksrcinfo v8 -# Sat Jun 18 01:06:23 UTC 2016 -pkgbase = lbzip2-git +pkgbase = bzip2-git pkgdesc = A parallel, SMP-based, bzip2-compatible compression utility - pkgver = 2.5.r36.g8702655 + pkgver = r66.ad723d6 pkgrel = 1 url = http://lbzip2.org/ arch = i686 arch = x86_64 license = GPL3 makedepends = perl - makedepends = gnulib makedepends = git + makedepends = meson + makedepends = ninja depends = glibc - provides = lbzip2 - conflicts = lbzip2 - source = lbzip2::git+https://github.com/kjn/lbzip2.git#branch=master + provides = bzip2 + conflicts = bzip2 + source = bzip2::git+https://gitlab.com/federicomenaquintero/bzip2.git#branch=master sha256sums = SKIP -pkgname = lbzip2-git +pkgname = bzip2-git @@ -1,44 +1,41 @@ # Maintainer: Dan Ziemba <zman0900@gmail.com> # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> +# Contributor: Matt Coffin <mcoffin13 at gmail.com> -pkgname=lbzip2-git -pkgver=2.5.r36.g8702655 +pkgname=bzip2-git +pkgver=r66.ad723d6 pkgrel=1 pkgdesc="A parallel, SMP-based, bzip2-compatible compression utility" arch=('i686' 'x86_64') url="http://lbzip2.org/" license=('GPL3') depends=('glibc') -makedepends=('perl' 'gnulib' 'git') -provides=('lbzip2') -conflicts=('lbzip2') +makedepends=('perl' 'git' 'meson' 'ninja') +provides=('bzip2') +conflicts=('bzip2') -_gitname="lbzip2" -source=($_gitname'::git+https://github.com/kjn/lbzip2.git#branch=master') +_gitname="bzip2" +source=($_gitname'::git+https://gitlab.com/federicomenaquintero/bzip2.git#branch=master') sha256sums=('SKIP') pkgver() { - cd "$srcdir/$_gitname" - git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/^v//g' + cd "$srcdir/$_gitname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd "$srcdir/$_gitname" - - ./build-aux/autogen.sh - ./configure --prefix=/usr - make + meson builddir --prefix=/usr + ninja -C builddir } check() { cd "$srcdir/$_gitname" - - make check + meson test -C builddir --print-errorlogs } package() { cd "$srcdir/$_gitname" - - make DESTDIR=${pkgdir} install + DESTDIR="$pkgdir" meson install -C builddir } |