mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 03:27:14 +08:00
updated ccr/ccr-tools
This commit is contained in:
parent
e2e763ec5e
commit
d2d74447d9
21
ccr/PKGBUILD
21
ccr/PKGBUILD
@ -7,7 +7,7 @@
|
||||
|
||||
pkgname=ccr
|
||||
pkgver=4.0.1
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="A Bash wrapper for the CCR"
|
||||
license="GPL"
|
||||
arch=('any')
|
||||
@ -16,19 +16,22 @@ 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")
|
||||
"http://raw.github.com/ccr-tools/ccr-tools/master/ccr"
|
||||
"https://raw.github.com/ccr-tools/ccr-tools/master/ccr-tools"
|
||||
"https://raw.github.com/ccr-tools/ccr-tools/master/ccr-tools.8")
|
||||
md5sums=('0f01f2ea1606f04ee9cd51b51b9e15c9'
|
||||
'8c179875982d98c542ebb826f50f7924'
|
||||
'f62fdaece2b8789ed95294fa259509a1')
|
||||
'd41d8cd98f00b204e9800998ecf8427e'
|
||||
'9b89cdf57f89c569b589a45f4c8803db'
|
||||
'9ab61b206beb5718af841dc1ff2454e8')
|
||||
|
||||
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 755 -D ccr "$pkgdir/usr/bin/ccr"
|
||||
|
||||
install -m 775 -D ccr-tools "$pkgdir/usr/bin/ccr-vote"
|
||||
install -m 644 -D ccr-tools.8 "$pkgdir/usr/share/man/man8/ccr-tools.8"
|
||||
}
|
||||
|
@ -1,7 +1,9 @@
|
||||
post_install() {
|
||||
echo "In order to install packages from CCR, you should install «base-devel»"
|
||||
echo "In order to install packages from CCR, you should install «base-devel»
|
||||
echo "ccr-vote has been merged into a new script, ccr-tools"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
echo "In order to install packages from CCR, you should install «base-devel»"
|
||||
}
|
||||
echo "In order to install packages from CCR, you should install «base-develÂ
|
||||
echo "ccr-vote has been merged into a new script, ccr-tools"
|
||||
}
|
||||
|
@ -1,4 +0,0 @@
|
||||
596c596
|
||||
< echo -e "$results" | fmt -"$_WIDTH" -s | nl -v 0 -w 1 -s ' ' -b 'p^[^ ]'
|
||||
---
|
||||
> echo -e "$results" | nl -v 0 -w 1 -s ' ' -b 'p^[^ ]' | fmt -"$_WIDTH" -s
|
Loading…
Reference in New Issue
Block a user