commit 13df3d5c868ff0a42828b68ce6ede2914d6aad56 Author: Arti Zirk Date: Fri Dec 11 16:20:56 2020 +0200 Add package diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..76e240c --- /dev/null +++ b/.SRCINFO @@ -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 + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..df7b132 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg +src +*tar* +gnome-builder-themes-gtksourceview4-git diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..204b93d --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +MIT License Copyright (c) + +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. diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..8e791b9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Arti Zirk + +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 +} + diff --git a/README.md b/README.md new file mode 100644 index 0000000..ca18670 --- /dev/null +++ b/README.md @@ -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 \ No newline at end of file