diff options
author | UnCO | 2015-06-09 11:24:05 +0800 |
---|---|---|
committer | UnCO | 2015-06-09 11:24:05 +0800 |
commit | 21e6b078c5fec3c98630dc27afbe6aaacef40afc (patch) | |
tree | 0e70260b813808c7d1819f9172d4836cc4455646 | |
download | aur-21e6b078c5fec3c98630dc27afbe6aaacef40afc.tar.gz |
Initial import
-rw-r--r-- | .AURINFO | 19 | ||||
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 39 |
3 files changed, 79 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 000000000000..896dc17fe282 --- /dev/null +++ b/.AURINFO @@ -0,0 +1,19 @@ +pkgbase = pcompress-git + pkgdesc = Pcompress is a utility to do compression/decompression and deduplication in parallel by splitting input data into chunks. + pkgver = 405 + pkgrel = 1 + url = http://moinakg.github.io/pcompress/ + arch = x86_64 + license = LGPL v3 + makedepends = yasm + depends = glibc + depends = gcc-libs-multilib + depends = bzip2 + depends = zlib + depends = openssl + source = git+https://github.com/moinakg/pcompress.git + source = http://wavpack.com/wavpack-4.70.0.tar.bz2 + options = !makeflags + +pkgname = pcompress-git + diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e823de7d39b6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = pcompress-git + pkgdesc = Pcompress is a utility to do compression/decompression and deduplication in parallel by splitting input data into chunks. + pkgver = 405 + pkgrel = 1 + url = http://moinakg.github.io/pcompress/ + arch = x86_64 + license = LGPL v3 + makedepends = yasm + depends = glibc + depends = gcc-libs-multilib + depends = bzip2 + depends = zlib + depends = openssl + options = !makeflags + source = git+https://github.com/moinakg/pcompress.git + source = http://wavpack.com/wavpack-4.70.0.tar.bz2 + md5sums = SKIP + md5sums = 4c0186ef0dc8367ce5cd7cc0f398b714 + +pkgname = pcompress-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3fae2f2ead17 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: "UnCO Lin" <trash__box <at> 163.com> +# Contributor: PLum <plum.michalski <at> gmail.com> +pkgname=pcompress-git +_pkgname=pcompress +pkgver=405 +_wavpack_ver=4.70.0 +pkgrel=1 +arch=(x86_64) +pkgdesc="Pcompress is a utility to do compression/decompression and deduplication in parallel by splitting input data into chunks." +url="http://moinakg.github.io/pcompress/" +license=('LGPL v3') +options=('!makeflags') +depends=('glibc' 'gcc-libs-multilib' 'bzip2' 'zlib' 'openssl') +makedepends=('yasm') +source=("git+https://github.com/moinakg/${_pkgname}.git" + "http://wavpack.com/wavpack-${_wavpack_ver}.tar.bz2") +md5sums=('SKIP' + '4c0186ef0dc8367ce5cd7cc0f398b714') + +pkgver() { + cd "$_pkgname" + git rev-list --count HEAD +} + +prepare() { + cd "$_pkgname" +} + +build() { + cd "$_pkgname" + ./config --prefix=/usr \ + --wavpack-dir="$srcdir"/wavpack-${_wavpack_ver} + make -j1 +} + +package() { + cd "$_pkgname" + make DESTDIR=${pkgdir} install +} |