desktop/ccr/PKGBUILD
2012-04-04 18:12:03 +00:00

35 lines
1.1 KiB
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=ccr
pkgver=4.0.1
pkgrel=2
pkgdesc="A Bash wrapper for the CCR"
license="GPL"
arch=('any')
depends=('grep' 'sed' 'coreutils' 'bash' 'curl' 'pacman' 'autoconf' 'automake' 'bin86' 'bison' 'ed' 'fakeroot' 'flex' 'gcc' 'libtool' 'm4' 'make' 'patch' 'pkgconfig' 'jshon')
optdepends=('sudo: install and update packages as non-root')
#source=("http://chakra-project.org/sources/ccr/ccr-$pkgver.tar.xz"
categories=('system')
source=("http://chakra-linux.org/sources/ccr/ccr-$pkgver.tar.gz"
"ccr-vote"
"fixnumbering.patch")
md5sums=('0f01f2ea1606f04ee9cd51b51b9e15c9'
'8c179875982d98c542ebb826f50f7924'
'f62fdaece2b8789ed95294fa259509a1')
package() {
cd "$srcdir/ccr-$pkgver"
patch -p1 ccr < "$startdir/fixnumbering.patch"
install -m 755 -D ccr "$pkgdir/usr/bin/ccr"
install -m 644 -D ccr.8 "$pkgdir/usr/share/man/man8/ccr.8"
cd $srcdir
install -m 775 -D ccr-vote "$pkgdir/usr/bin/ccr-vote"
}