summaryrefslogtreecommitdiff
path: root/pcr/cmix/PKGBUILD
blob: 2ac3004bcb8e87f19189a16127e4fab47f3bcfc1 (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
# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697

pkgname=cmix
pkgver=8
pkgrel=1
pkgdesc="cmix is a lossless data compression program aimed at optimizing compression ratio at the cost of high CPU/memory usage. (Warning: At least 32GB of RAM is recommended to run cmix.)"
arch=('i686' 'x86_64')
url="http://www.byronknoll.com/cmix.html"
license=('GPL3')
makedepends=('gcc')
source=("http://www.byronknoll.com/$pkgname-v$pkgver.zip")
sha512sums=('1c4f18b1fc81874d19ba136633c9b3896c1d87a1a25bcb972951b71756dcfe0ea57eb6a54ee4ce6928aaf185408e7d68262fde28d6750a7ea38272d687704df6')

build() {
  cd $pkgname
	make
}

package() {
  cd $pkgname
  msg "Install $pkgname in /usr/bin"
  mkdir -p $pkgdir/usr/bin
  install -D -m 755 "$srcdir/$pkgname/$pkgname" \
    "$pkgdir/usr/bin/$pkgname"
    install -D -m0444 $srcdir/$pkgname/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}