Add package

This commit is contained in:
Arti Zirk 2020-12-11 16:20:56 +02:00
commit 13df3d5c86
5 changed files with 75 additions and 0 deletions

15
.SRCINFO Normal file
View File

@ -0,0 +1,15 @@
pkgbase = gnome-builder-themes-gtksourceview4-git
pkgdesc = gtksourceview4/gedit themes from gnome-builder
pkgver = r14447.aab3b443d
pkgrel = 1
url = https://gitlab.gnome.org/GNOME/gnome-builder/
arch = any
license = GPL3
makedepends = git
conflicts = gnome-builder-themes-gtksourceview4-git
conflicts = gnome-builder
source = gnome-builder-themes-gtksourceview4-git::git+https://gitlab.gnome.org/GNOME/gnome-builder.git
md5sums = SKIP
pkgname = gnome-builder-themes-gtksourceview4-git

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
pkg
src
*tar*
gnome-builder-themes-gtksourceview4-git

19
LICENSE Normal file
View File

@ -0,0 +1,19 @@
MIT License Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice (including the next
paragraph) shall be included in all copies or substantial portions of the
Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

32
PKGBUILD Normal file
View File

@ -0,0 +1,32 @@
# Maintainer: Arti Zirk <arti.zirk@gmail.com>
pkgname=gnome-builder-themes-gtksourceview4-git
pkgver=r14447.aab3b443d
pkgrel=1
pkgdesc="Syntax Highlighting themes from Gnome Builder for Gedit and other editors using gtksourceview4"
arch=('any')
url="https://gitlab.gnome.org/GNOME/gnome-builder/"
license=('GPL3')
groups=()
depends=()
makedepends=('git')
provides=()
conflicts=("${pkgname}" gnome-builder)
replaces=()
backup=()
options=()
install=
source=('gnome-builder-themes-gtksourceview4-git::git+https://gitlab.gnome.org/GNOME/gnome-builder.git')
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${pkgname}/data/style-schemes"
install -Dm644 -t "$pkgdir/usr/share/gtksourceview-4/styles/" *scheme.xml
}

5
README.md Normal file
View File

@ -0,0 +1,5 @@
# gnome-builder-themes-gtksourceview4-git
Syntax Highlighting themes from [Gnome Builder] for Gedit and other editors using gtksourceview4
[Gnome Builder]: https://gitlab.gnome.org/GNOME/gnome-builder/-/tree/master/data/style-schemes