summaryrefslogtreecommitdiff
path: root/pcr/cmix/PKGBUILD
blob: cda198c06bd6b8826067033b1b5d0279cd15fd46 (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=12
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=('22966f14529b40254b500b5a2261ecd8ba624cf8125e57c31c1b40a1c28224a020ca4b2edcd98a598fc485504fcf7980839d0c1282de76f491619612eff37edf')

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