Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
86
Issues
86
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
32
Merge Requests
32
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
core
Commits
9cafc2b7
Commit
9cafc2b7
authored
Jan 12, 2014
by
totte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kdenetwork-kget: Rename to kget
parent
a9004204
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
127 additions
and
0 deletions
+127
-0
kget/PKGBUILD
kget/PKGBUILD
+39
-0
kget/kdenetwork.install
kget/kdenetwork.install
+88
-0
No files found.
kget/PKGBUILD
0 → 100644
View file @
9cafc2b7
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Include global configuration
source
../_buildscripts/
${
current_repo
}
-
${
_arch
}
-cfg
.conf
pkgname
=
"kget"
arch
=(
'x86_64'
)
pkgver
=
${
_kdever
}
pkgrel
=
1
pkgdesc
=
"Download manager"
url
=
"http://kde.org/applications/internet/kget/"
depends
=(
"kde-workspace=4.11.5"
'qca'
'kwebkitpart>=0.9.6'
'libktorrent>=1.0.4'
'libmms'
)
groups
=(
"kde"
"kdenetwork"
"kde-uninstall"
)
categories
=(
'network'
)
conflicts
=(
"kdenetwork-common"
"kdenetwork-doc"
"kdenetwork-kget"
)
provides
=(
"kdenetwork-kget"
)
replaces
=(
"kdenetwork-kget"
)
install
=
kdenetwork.install
license
=(
'GPL'
'LGPL'
'FDL'
)
options
=(
'docs'
'!header'
'debug'
'log'
)
makedepends
=(
'pkg-config'
'cmake'
'automoc4'
'docbook-xsl'
)
source
=(
"
$_mirror
/
$pkgname
-
$_kdever
.tar.xz"
)
sha256sums
=(
`
grep
$pkgname
-
$_kdever
.tar.xz ../checksums.txt |
cut
-d
" "
-f1
`
)
build
()
{
cd
${
srcdir
}
/
$pkgname
-
$pkgver
cmake
.
\
-DCMAKE_BUILD_TYPE
=
${
_build_type
}
\
-DCMAKE_INSTALL_PREFIX
=
${
_installprefix
}
\
-DCMAKE_SKIP_RPATH
=
ON
\
-DCMAKE_
{
SHARED,MODULE,EXE
}
_LINKER_FLAGS
=
'-Wl,--no-undefined -Wl,--as-needed'
make
}
package
()
{
cd
${
srcdir
}
/
$pkgname
-
$pkgver
make
DESTDIR
=
${
pkgdir
}
install
}
kget/kdenetwork.install
0 → 100644
View file @
9cafc2b7
post_install
()
{
if
[
-
e
"/etc/chakra/updates.conf"
]
;
then
.
/
etc
/
chakra
/
updates
.
conf
if
[
"
$UPDATE_XDG_ICON_DB
"
=
"yes"
];
then
/
usr
/
bin
/
chakra
-
update
-
icons
fi
if
[
"
$UPDATE_GLOBAL_CONFIG
"
=
"yes"
];
then
/
usr
/
bin
/
chakra
-
update
-
sycoca
fi
if
[
"
$UPDATE_USER_CONFIG
"
=
"yes"
];
then
/
usr
/
bin
/
chakra
-
update
-
user
-
sycoca
fi
else
echo
" > WARNING"
echo
" The package kde-common seems not to be installed,"
echo
" this can possibly break the installation. Just install it"
echo
" manually after this installation/update, run the following"
echo
" commands and restart KDE afterwards:"
echo
" sudo chakra-config-updater"
echo
" kbuildsycoca4"
echo
" "
fi
}
post_upgrade
()
{
if
[
-
e
"/etc/chakra/updates.conf"
]
;
then
.
/
etc
/
chakra
/
updates
.
conf
if
[
"
$UPDATE_XDG_ICON_DB
"
=
"yes"
];
then
/
usr
/
bin
/
chakra
-
update
-
icons
fi
if
[
"
$UPDATE_GLOBAL_CONFIG
"
=
"yes"
];
then
/
usr
/
bin
/
chakra
-
update
-
sycoca
fi
if
[
"
$UPDATE_USER_CONFIG
"
=
"yes"
];
then
/
usr
/
bin
/
chakra
-
update
-
user
-
sycoca
fi
else
echo
" > WARNING"
echo
" The package kde-common seems not to be installed,"
echo
" this can possibly break the installation. Just install it"
echo
" manually after this installation/update, run the following"
echo
" commands and restart KDE afterwards:"
echo
" sudo chakra-config-updater"
echo
" kbuildsycoca4"
echo
" "
fi
}
post_remove
()
{
if
[
-
e
"/etc/chakra/updates.conf"
]
;
then
.
/
etc
/
chakra
/
updates
.
conf
if
[
"
$UPDATE_XDG_ICON_DB
"
=
"yes"
];
then
/
usr
/
bin
/
chakra
-
update
-
icons
fi
if
[
"
$UPDATE_GLOBAL_CONFIG
"
=
"yes"
];
then
/
usr
/
bin
/
chakra
-
update
-
sycoca
fi
if
[
"
$UPDATE_USER_CONFIG
"
=
"yes"
];
then
/
usr
/
bin
/
chakra
-
update
-
user
-
sycoca
fi
else
echo
" > WARNING"
echo
" The package kde-common seems not to be installed,"
echo
" this can possibly break the installation. Just install it"
echo
" manually after this installation/update, run the following"
echo
" commands and restart KDE afterwards:"
echo
" sudo chakra-config-updater"
echo
" kbuildsycoca4"
echo
" "
fi
}
op
=
$
1
shift
$op
$
*
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