Commit 7788b0a0 authored by Anke's avatar Anke

adding new package from ccr kdev-python, corrected .desktop for imagewriter,...

adding new package from ccr kdev-python, corrected .desktop for imagewriter, called for non existing xdg-su
parent 3761f1d1
......@@ -5,7 +5,7 @@
pkgname=imagewriter
pkgver=1.10
pkgrel=1
pkgrel=2
_opensuse_rel=1.1
pkgdesc="SUSE Studio Imagewriter"
arch=('x86_64')
......@@ -14,8 +14,10 @@ license=('GPLv2')
depends=('qt')
provides=('imagewriter')
screenshot=("http://upload.wikimedia.org/wikipedia/en/1/1e/SUSE_Studio_ImageWriter.png")
source=("http://download.opensuse.org/source/factory/repo/oss/suse/src/imagewriter-${pkgver}-${_opensuse_rel}.src.rpm")
md5sums=('2358d1805d74f1d127ce80ae3ed3c8dc')
source=("http://download.opensuse.org/source/factory/repo/oss/suse/src/imagewriter-${pkgver}-${_opensuse_rel}.src.rpm"
'imagewriter.desktop')
md5sums=('2358d1805d74f1d127ce80ae3ed3c8dc'
'81df0c7c5f744d6a24413a37f6e6ecb6')
build() {
cd "${srcdir}"
......@@ -29,4 +31,6 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make INSTALL_ROOT="${pkgdir}" install
rm "$pkgdir/usr/share/applications/imagewriter.desktop"
install -m 644 -p ${srcdir}/imagewriter.desktop ${pkgdir}/usr/share/applications/
}
\ No newline at end of file
[Desktop Entry]
Type=Application
Categories=System;Utility;Archiving;
X-KDE-RootOnly=true
Exec=imagewriter %F
Icon=imagewriter
Name=SUSE Studio Imagewriter
GenericName=USB key writer
X-KDE-SubstituteUID=true
Version=1.0
# contirbutor Jakub Kozisek <nodevel at gmail dot com>
pkgname=kdev-python
pkgver=1.4.1
pkgrel=1
pkgdesc='Python plugin for KDevelop - stable version'
arch=('x86_64')
url="https://projects.kde.org/projects/playground/devtools/plugins/kdev-python"
license=('GPL')
groups=('kde' 'kdevelop-plugins')
depends=('kdevelop')
makedepends=('kdevelop-pg-qt' 'cmake' 'automoc4')
conflicts=('kdevelop-python-beta' 'kdevelop-python')
replaces=('kdevelop-python-beta' 'kdevelop-python')
provides=('kdevelop-python')
source=("http://download.kde.org/stable/kdevelop/$pkgname/$pkgver/src/$pkgname-v$pkgver.tar.bz2")
sha256sums=('8743844c6bcf09b3f9db05891539973633049470eb7c046b75b3cfe4542da1e2')
build() {
cd "$srcdir/$pkgname-v$pkgver"
sed -i 's|#!.*python$|&2|' python-src/Parser/asdl_c.py
mkdir -p "$srcdir/build"
cd "$srcdir/build"
cmake "../$pkgname-v$pkgver" \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_BUILD_TYPE=RELWITHDEBINFO \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
-DCMAKE_INSTALL_PREFIX=/usr
make parser
make
}
package() {
cd "$srcdir/build"
make DESTDIR="$pkgdir" install
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment