Commit 54e3c562 authored by Stefano Capitani's avatar Stefano Capitani

Upload python version

Signed-off-by: Stefano Capitani's avatarStefano <stefano@manjaro.org>
parent 16f18aea
# Maintainer: Chrysostomus @forum.manjaro.org
pkgname=gnome-layout-switcher
pkgname=gnome-layout-switcher-dev
_pkgname=gnome-layout-switcher
pkgver=0.6
pkgrel=1
pkgdesc="A simple gui for choosing gnome desktop lauout"
arch=(any)
url="https://github.com/Chrysostomus/$pkgname"
license=(gpl3)
url="https://github.com/Chrysostomus/$_pkgname"
license=(GPL3)
depends=('gnome-shell'
'python'
'pamac-gtk'
......@@ -20,21 +21,12 @@ optdepends=('gnome-shell-extension-appindicator: For certain layouts'
'gnome-shell-extensions: For all layouts'
'gnome-shell-extension-unite: For mac layouts'
'gnome-shell-extension-desktop-icons: For Desktop icon')
makedepends=('git')
source=("git+https://gitlab.manjaro.org/Chrysostomus/gnome-layout-switcher.git")
makedepends=('git' 'python-setuptools')
source=("git+https://gitlab.manjaro.org/Chrysostomus/gnome-layout-switcher.git#branch=hello")
conflicts=("$_pkgname")
md5sums=('SKIP')
package () {
cd "$srcdir"
install -dm755 $pkgdir/usr/bin
cp -r $srcdir/$pkgname/bin $pkgdir/usr
chmod a+x $pkgdir/usr/bin/*
install -dm655 $pkgdir/usr/share/gls
mkdir -p $pkgdir/usr/share/gtk-3.0
cp $srcdir/$pkgname/data/css/gtk.css $pkgdir/usr/share/gtk-3.0/gtk.css
cp -r $srcdir/$pkgname/data/pictures $pkgdir/usr/share/gls
mkdir -p $pkgdir/usr/share/applications
mkdir -p $pkgdir/usr/share/icons/hicolor/scalable/apps
cp $srcdir/$pkgname/data/gnome-layout-switcher.svg $pkgdir/usr/share/icons/hicolor/scalable/apps
cp $srcdir/$pkgname/data/desktop/gnome-layouts.desktop $pkgdir/usr/share/applications
cd $_pkgname
python setup.py install --root="$pkgdir/" --optimize=1
}
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