Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
desktop
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
6
Merge Requests
6
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chakra
Packages
desktop
Commits
1c7802b4
Commit
1c7802b4
authored
Sep 14, 2010
by
manutortosa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Push first testing versiÃon of ccr the packer for Chakra Linux
parent
d10e0987
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
+45
-0
ccr/PKGBUILD
ccr/PKGBUILD
+45
-0
No files found.
ccr/PKGBUILD
0 → 100644
View file @
1c7802b4
#
# 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>
# include global config
source
../_buildscripts/
${
current_repo
}
-
${
_arch
}
-cfg
.conf
pkgname
=
ccr
pkgver
=
20100914
pkgrel
=
1
pkgdesc
=
"Bash wrapper for pacman and the CCR"
url
=
"http://github.com/bruenig/packer"
license
=
"GPL"
arch
=(
'any'
)
makedepends
=(
'git'
)
depends
=(
'grep'
'sed'
'coreutils'
'bash'
'wget'
'pacman'
)
optdepends
=(
'sudo: install and update packages as non-root'
'pacman-color: colorized output'
'base-devel: for building packages from the ccr'
)
_gitroot
=
'git://github.com/bruenig/packer.git'
_gitname
=
'packer'
build
()
{
cd
"
$startdir
/src"
msg
"Connecting to github GIT server...."
if
[
-d
"
$startdir
/src/
$_gitname
"
]
;
then
cd
$_gitname
&&
git pull origin
else
git clone
"
$_gitroot
"
cd
$_gitname
fi
# Change all the server references from http://aur.archlinux.org to http://chakra-project.org/ccr
cat
packer |
sed
"s/aur
\.
archlinux
\.
org/chakra
\-
project
\.
org
\/
ccr/g"
>
step1
# Change all the aur references to ccr
cat
step1 |
sed
"s/aur/ccr/g"
>
step2
# Change all the Aur references to Ccr
cat
step2 |
sed
"s/Aur/Ccr/g"
>
ccr
install
-m
755
-D
ccr
"
$startdir
/pkg/usr/bin/ccr"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment