mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 18:07:16 +08:00
39 lines
1.4 KiB
Bash
39 lines
1.4 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>
|
|
# DO NOT USE THIS PKGBIULD! If ccr needs to be put in testing, grab the PKGBUILD from apps/master.
|
|
|
|
pkgname=ccr
|
|
pkgver=4.0.1
|
|
pkgrel=4
|
|
pkgdesc="A Bash wrapper for the CCR"
|
|
url="https://github.com/ccr-tools/ccr-tools"
|
|
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-submit"
|
|
"ccr-vote"
|
|
"fixnumbering.patch")
|
|
md5sums=('0f01f2ea1606f04ee9cd51b51b9e15c9'
|
|
'bf1076c88c72a114f3f9edb38b76db74'
|
|
'6437df892eab6c4071b16bfaf4935818'
|
|
'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"
|
|
install -m 775 -D ccr-submit "$pkgdir/usr/bin/ccr-submit"
|
|
}
|