summaryrefslogtreecommitdiff
path: root/pcr/cmix/PKGBUILD
blob: e46b8d14f473c6d990579ddef6acd552ce53bcde (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=7
pkgrel=1
pkgdesc="cmix is a lossless data compression program aimed at optimizing compression ratio at the cost of high CPU/memory usage."
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"
}