summaryrefslogtreecommitdiff
path: root/pcr/cmix/PKGBUILD
blob: b9cda7b1ec25490958c39f3891789a9a3c19fcaa (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=('02ec99fcc5ad68aabbd1df00e165bab0b5233667ef2e3960543230533ef8967ab2977be744fd72529bd16dbf5863be54639ed15de5428f45e4c784675a0b47ca')

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"
}