summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c6eeaac2a164af41124c083f6d02adce81378529 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: EatMyVenom <eat.my.venomm@gmail.com>
# Contributor: Cody Maloney <cmaloney@theoreticalchaos.com>

pkgname=pxz-git
pkgver=r61.124382a
pkgrel=1
pkgdesc="Runs LZMA compression of different parts of an input file on multiple cores and processors simultaneously"
arch=('x86_64')
url="http://jnovy.fedorapeople.org/pxz/"
license=('GPL2')
makedepends=('git')
depends=('xz')
source=('git+https://github.com/jnovy/pxz.git')
md5sums=('SKIP')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")

pkgver() {
  cd "$srcdir/${pkgname%-git}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/${pkgname%-git}"

  make
}

package() {
  cd "$srcdir/${pkgname%-git}"

  make DESTDIR="$pkgdir" install
}